ConfigurationResponseFormatter Class
Formats OpenID Connect configuration responses by enriching them with resolved MVC endpoint URLs.
public class ConfigurationResponseFormatter : Abblix.Oidc.Server.Mvc.Formatters.Interfaces.IConfigurationResponseFormatterInheritance System.Object → ConfigurationResponseFormatter
Implements IConfigurationResponseFormatter
Constructors
ConfigurationResponseFormatter(IOptionsSnapshot<OidcOptions>, IEndpointResolver, ISignedMetadataProvider) Constructor
Formats OpenID Connect configuration responses by enriching them with resolved MVC endpoint URLs.
public ConfigurationResponseFormatter(Microsoft.Extensions.Options.IOptionsSnapshot<Abblix.Oidc.Server.Common.Configuration.OidcOptions> options, Abblix.Oidc.Server.Mvc.Features.EndpointResolving.IEndpointResolver endpointResolver, Abblix.Oidc.Server.Endpoints.Configuration.Interfaces.ISignedMetadataProvider signedMetadataProvider);Parameters
options Microsoft.Extensions.Options.IOptionsSnapshot<OidcOptions>
endpointResolver IEndpointResolver
signedMetadataProvider ISignedMetadataProvider
Methods
ConfigurationResponseFormatter.FormatResponseAsync(ConfigurationResponse) Method
Formats the configuration response by mapping metadata and adding endpoint URLs.
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult<Abblix.Oidc.Server.Model.ConfigurationResponse>> FormatResponseAsync(Abblix.Oidc.Server.Endpoints.Configuration.Interfaces.ConfigurationResponse response);Parameters
response ConfigurationResponse
Framework-agnostic configuration response with metadata.
Implements FormatResponseAsync(ConfigurationResponse)
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult<ConfigurationResponse>>
An action result with the MVC-enriched configuration response including URLs.