Skip to main content

AuthorizationEndpointMetadataFactory Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Authorization

AuthorizationEndpointMetadataFactory Class

Builds the AuthorizationEndpointMetadata advertised in discovery from the registered set of IAuthorizationResponseBuilder: each builder declares the response-type it owns, and the supported response-type combinations are the canonical OAuth/OIDC combos fully covered by the registered builders. Kept off the request-handling path so the discovery endpoint does not resolve the authorization handler (and its request-time dependencies, such as the JARM response encoder) merely to read this metadata.

public static class AuthorizationEndpointMetadataFactory

Inheritance System.Object → AuthorizationEndpointMetadataFactory

Methods

AuthorizationEndpointMetadataFactory.Create(IEnumerable<IAuthorizationResponseBuilder>) Method

Computes the authorization endpoint metadata from the registered response builders.

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

Parameters

responseBuilders System.Collections.Generic.IEnumerable<IAuthorizationResponseBuilder>

The registered response builders, each declaring the response-type it owns.

Returns

AuthorizationEndpointMetadata
The metadata advertised at the discovery endpoint.