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.​IAuthorizeResponseGenerator

Assembly: Duende.IdentityServer

Generates the authorization endpoint response after all interaction requirements have been satisfied. Depending on the requested response type, this produces an authorization code, tokens, or both, and packages them into an <see cref="T:Duende.IdentityServer.ResponseHandling.AuthorizeResponse" /> that is then serialized and returned to the client's redirect URI.

Remarks

This interface is invoked after <see cref="T:Duende.IdentityServer.ResponseHandling.IAuthorizeInteractionResponseGenerator" /> has confirmed that no further user interaction is required. The default implementation handles the authorization code flow and can be replaced or extended to support additional response types or to customize the content of the authorization response.

Methods

CreateResponseAsync​(Validation.​ValidatedAuthorizeRequest request, System.​Threading.​CancellationToken ct)
Creates the authorization response for a validated authorize request.
Returns An <see cref="T:Duende.IdentityServer.ResponseHandling.AuthorizeResponse" /> containing the authorization code, tokens, and/or other parameters to be returned to the client via the redirect URI.
request The validated authorize request.
ct The cancellation token.