IBackChannelAuthenticationResponseFormatter Interface
Defines an interface for formatting a back-channel authentication response to be sent to a client or external system.
public interface IBackChannelAuthenticationResponseFormatterDerived
↳ BackChannelAuthenticationResponseFormatter
Methods
IBackChannelAuthenticationResponseFormatter.FormatResponseAsync(BackChannelAuthenticationRequest, ClientRequest, Result<BackChannelAuthenticationSuccess,OidcError>) Method
Formats a back-channel authentication response asynchronously.
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> FormatResponseAsync(Abblix.Oidc.Server.Model.BackChannelAuthenticationRequest request, Abblix.Oidc.Server.Model.ClientRequest clientRequest, Abblix.Utils.Result<Abblix.Oidc.Server.Model.BackChannelAuthenticationSuccess,Abblix.Oidc.Server.Common.OidcError> response);Parameters
request BackChannelAuthenticationRequest
The back-channel authentication request.
clientRequest ClientRequest
The client request containing authentication details
(needed to determine the correct WWW-Authenticate scheme per RFC 6749 Section 5.2).
response Abblix.Utils.Result<BackChannelAuthenticationSuccess,OidcError>
The back-channel authentication response result 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.