Files
MTSC/MTSC.OAuth2/Models/OpenIdConfiguration.cs
T
amacocian 0fe9f9957c Setup OAuth2 support (#20)
* Setup OAuth2 support

* Setup tests project

* Setup OAuth2 unit tests in CI pipeline

* Setup authorizeattribute tests

* Test

* Setup tests for AuthorizeAttribute

* Setup OAuth2 support
Unit Tests coverage

* Add OAuth2 project to release
2022-09-02 16:13:08 +02:00

20 lines
637 B
C#

using Microsoft.IdentityModel.Tokens;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MTSC.OAuth2.Models
{
internal sealed class OpenIdConfiguration
{
[JsonProperty("issuer")]
public string Issuer { get; set; }
[JsonProperty("id_token_signing_alg_values_supported")]
public List<string> SupportedAlgorithms { get; set; }
[JsonProperty("claims_supported")]
public List<string> SupportedClaims { get; set; }
[JsonProperty("jwks_uri")]
public string SigningKeysUri { get; set; }
public List<JsonWebKey> SigningKeys { get; set; }
}
}