Authorize Interaction Response Generator
Duende.IdentityServer.ResponseHandling.IAuthorizeInteractionResponseGenerator
Section titled “Duende.IdentityServer.ResponseHandling.IAuthorizeInteractionResponseGenerator”The IAuthorizeInteractionResponseGenerator interface models the logic for determining if user must log in or consent
when making requests to the authorization endpoint.
IAuthorizeInteractionResponseGenerator APIs
Section titled “IAuthorizeInteractionResponseGenerator APIs”-
ProcessInteractionAsyncReturns the
InteractionResponsebased on theValidatedAuthorizeRequestan and optionalConsentResponseif the user was shown a consent page.
InteractionResponse
Section titled “InteractionResponse”-
IsLoginSpecifies if the user must log in.
-
IsConsentSpecifies if the user must consent.
-
IsCreateAccountAdded in
v6.3.Specifies if the user must create an account.
-
IsErrorSpecifies if the user must be shown an error page.
-
ErrorThe error to display on the error page.
-
ErrorDescriptionThe description of the error to display on the error page.
-
IsRedirectSpecifies if the user must be redirected to a custom page for custom processing.
-
RedirectUrlThe URL for the redirect to the page for custom processing.