mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-15 14:59:33 +00:00
0fe9f9957c
* 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
20 lines
637 B
C#
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; }
|
|
}
|
|
}
|