IReadClientResponseFormatter Interface
Defines an interface for formatting a response when reading client information as a low-level response object to return it to the client.
public interface IReadClientResponseFormatterDerived
↳ ReadClientResponseFormatter
Methods
IReadClientResponseFormatter.FormatResponseAsync(ClientRequest, Result<ReadClientSuccessfulResponse,OidcError>) Method
Formats a response asynchronously when reading client information as a low-level response object to return it to the client.
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> FormatResponseAsync(Abblix.Oidc.Server.Model.ClientRequest request, Abblix.Utils.Result<Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError> response);Parameters
request ClientRequest
The client information request.
response Abblix.Utils.Result<ReadClientSuccessfulResponse,OidcError>
The response containing client information to be formatted.
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult>
A System.Threading.Tasks.Task representing the asynchronous operation, with the formatted response as an Microsoft.AspNetCore.Mvc.ActionResult.