Skip to content

IReadClientResponseFormatter Interface

Formats the result of reading a client configuration (RFC 7592) into an Microsoft.AspNetCore.Http.IResult.

C#
public interface IReadClientResponseFormatter

Derived
ReadClientResponseFormatter

Methods

IReadClientResponseFormatter.FormatResponseAsync(ClientRequest, Result<ReadClientSuccessfulResponse,OidcError>) Method

Formats the read result (200 with the client configuration, or the OAuth error).

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

Parameters

request ClientRequest
response Abblix.Utils.Result<ReadClientSuccessfulResponse,OidcError>

Returns

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