Skip to main content

AuthorizationMetadataProvider Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Configuration

AuthorizationMetadataProvider Class

Provides authorization-endpoint metadata for discovery, computed directly from the registered response builders. Deliberately does not depend on IAuthorizationHandler: resolving the handler just to read metadata would also construct its request-time dependencies (the JARM response encoder and its crypto graph), which the discovery path must not do.

public sealed class AuthorizationMetadataProvider : Abblix.Oidc.Server.Endpoints.Configuration.Interfaces.IAuthorizationMetadataProvider

Inheritance System.Object → AuthorizationMetadataProvider

Implements IAuthorizationMetadataProvider

Constructors

AuthorizationMetadataProvider(IEnumerable<IAuthorizationResponseBuilder>) Constructor

Provides authorization-endpoint metadata for discovery, computed directly from the registered response builders. Deliberately does not depend on IAuthorizationHandler: resolving the handler just to read metadata would also construct its request-time dependencies (the JARM response encoder and its crypto graph), which the discovery path must not do.

public AuthorizationMetadataProvider(System.Collections.Generic.IEnumerable<Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.IAuthorizationResponseBuilder> responseBuilders);

Parameters

responseBuilders System.Collections.Generic.IEnumerable<IAuthorizationResponseBuilder>

The registered response builders the supported response types are derived from.

Properties

AuthorizationMetadataProvider.AuthorizationResponseIssParameterSupported Property

Indicates whether the server includes the iss parameter in authorization responses per RFC 9207.

public bool AuthorizationResponseIssParameterSupported { get; init; }

Implements AuthorizationResponseIssParameterSupported

Property Value

System.Boolean

AuthorizationMetadataProvider.ClaimsParameterSupported Property

Indicates whether the claims parameter is supported in authorization requests.

public bool ClaimsParameterSupported { get; }

Implements ClaimsParameterSupported

Property Value

System.Boolean

AuthorizationMetadataProvider.CodeChallengeMethodsSupported Property

Lists the code challenge methods supported for PKCE.

public System.Collections.Generic.IEnumerable<string> CodeChallengeMethodsSupported { get; }

Implements CodeChallengeMethodsSupported

Property Value

System.Collections.Generic.IEnumerable<System.String>

AuthorizationMetadataProvider.PromptValuesSupported Property

Lists the prompt values supported during authentication.

public System.Collections.Generic.IEnumerable<string> PromptValuesSupported { get; }

Implements PromptValuesSupported

Property Value

System.Collections.Generic.IEnumerable<System.String>

AuthorizationMetadataProvider.RequestParameterSupported Property

Indicates whether the request parameter is supported in authorization requests.

public bool RequestParameterSupported { get; }

Implements RequestParameterSupported

Property Value

System.Boolean

AuthorizationMetadataProvider.ResponseModesSupported Property

Lists the response modes supported by the authorization endpoint.

public System.Collections.Generic.IEnumerable<string> ResponseModesSupported { get; }

Implements ResponseModesSupported

Property Value

System.Collections.Generic.IEnumerable<System.String>

AuthorizationMetadataProvider.ResponseTypesSupported Property

Lists the response types supported by the authorization endpoint.

public System.Collections.Generic.IEnumerable<string> ResponseTypesSupported { get; }

Implements ResponseTypesSupported

Property Value

System.Collections.Generic.IEnumerable<System.String>