Skip to content

IRegisterClientResponseFormatter Interface

Formats the result of a dynamic client registration request (RFC 7591) into an Microsoft.AspNetCore.Http.IResult.

C#
public interface IRegisterClientResponseFormatter

Derived
RegisterClientResponseFormatter

Methods

IRegisterClientResponseFormatter.FormatResponseAsync(ClientRegistrationRequest, Result<ClientRegistrationSuccessResponse,OidcError>) Method

Formats the registration result (201 with the client configuration on success, OAuth error otherwise).

C#
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult> FormatResponseAsync(Abblix.Oidc.Server.Model.ClientRegistrationRequest request, Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.ClientRegistrationSuccessResponse,Abblix.Oidc.Server.Common.OidcError> response);

Parameters

request ClientRegistrationRequest
response Abblix.Utils.Result<ClientRegistrationSuccessResponse,OidcError>

Returns

System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult>