Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Duende.​IdentityServer.​ResponseHandling.​IBackchannelAuthenticationResponseGenerator
Assembly: Duende.IdentityServer
Generates the response returned from the backchannel authentication endpoint as part of the Client-Initiated Backchannel Authentication (CIBA) flow. The response contains the <c>auth_req_id</c> that the client uses to poll the token endpoint, along with the expiration and polling interval. This interface is invoked after the backchannel authentication request has been validated and the authentication request has been stored.
Remarks
The default implementation creates and stores the backchannel authentication request and
returns the appropriate identifiers and timing parameters. Override this interface or extend
the default implementation to customize the backchannel authentication response, for example
to adjust expiration times or add custom response properties.
Methods
System.​Threading.​Tasks.​Task<​BackchannelAuthenticationResponse>
ProcessAsync​(Validation.​BackchannelAuthenticationRequestValidationResult validationResult,
System.​Threading.​CancellationToken ct)
Processes a validated backchannel authentication request and produces the CIBA response.
Returns A <see cref="T:Duende.IdentityServer.ResponseHandling.BackchannelAuthenticationResponse" /> containing the <c>auth_req_id</c> ,
expiration time, and polling interval that the client uses to retrieve tokens once the
user has authenticated.
validationResult
The result of validating the backchannel authentication request, including the client,
requested scopes, login hint, and binding message.
ct
The cancellation token.