Class OidcProviderMetadata
The trusted subset of an OpenID Connect discovery document.
public sealed record OidcProviderMetadata : IEquatable<OidcProviderMetadata>
- Inheritance
-
OidcProviderMetadata
- Implements
- Inherited Members
Constructors
OidcProviderMetadata(string, string, string, string?, IReadOnlyList<string>)
The trusted subset of an OpenID Connect discovery document.
public OidcProviderMetadata(string Issuer, string AuthorizationEndpoint, string TokenEndpoint, string? DeviceAuthorizationEndpoint, IReadOnlyList<string> CodeChallengeMethodsSupported)
Parameters
IssuerstringThe validated issuer URL.
AuthorizationEndpointstringThe authorization endpoint, for the authorization-code flow.
TokenEndpointstringThe token endpoint.
DeviceAuthorizationEndpointstringThe device authorization endpoint, when the provider supports the device flow.
CodeChallengeMethodsSupportedIReadOnlyList<string>The PKCE code challenge methods the provider advertises.
Properties
AuthorizationEndpoint
The authorization endpoint, for the authorization-code flow.
public string AuthorizationEndpoint { get; init; }
Property Value
CodeChallengeMethodsSupported
The PKCE code challenge methods the provider advertises.
public IReadOnlyList<string> CodeChallengeMethodsSupported { get; init; }
Property Value
DeviceAuthorizationEndpoint
The device authorization endpoint, when the provider supports the device flow.
public string? DeviceAuthorizationEndpoint { get; init; }
Property Value
Issuer
The validated issuer URL.
public string Issuer { get; init; }
Property Value
SupportsS256
True when the provider advertises PKCE with S256.
public bool SupportsS256 { get; }
Property Value
TokenEndpoint
The token endpoint.
public string TokenEndpoint { get; init; }