Skip to content

IConfigurationResponseFormatter Interface

Defines the contract for formatting OpenID Connect configuration responses by mapping metadata and enriching with MVC-specific information such as endpoint URLs.

C#
public interface IConfigurationResponseFormatter

Derived
ConfigurationResponseFormatter

Methods

IConfigurationResponseFormatter.FormatResponseAsync(ConfigurationResponse) Method

Formats the configuration response by mapping metadata and adding endpoint URLs.

C#
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.

Returns

System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult<ConfigurationResponse>>
An action result with the MVC-enriched configuration response including URLs.