API is protected and client can login and call API

This commit is contained in:
Muhammad Azeez
2021-01-07 13:14:25 +03:00
commit 536c7fdb3d
41 changed files with 25757 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using System;
namespace OidcSamples.TrafficPoliceApi
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
}