Class InteractionResponse
- Namespace
- Fdyay.IdentityServer.ResponseHandling
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
What the authorize endpoint does with a validated request before answering it. Duende's.
public class InteractionResponse
- Inheritance
-
InteractionResponse
- Inherited Members
Properties
Error
The error to answer the client with.
public string? Error { get; set; }
Property Value
Remarks
One of the interaction errors — access_denied, login_required, consent_required,
interaction_required, account_selection_required, temporarily_unavailable,
unmet_authentication_requirements — goes back to the client; any other is shown on the error page, as
Duende's authorize response writer decides.
ErrorDescription
The description sent with Error.
public string? ErrorDescription { get; set; }
Property Value
IsConsent
Send the user to the consent page.
public bool IsConsent { get; set; }
Property Value
IsCreateAccount
Send the user to the create-account page (prompt=create).
public bool IsCreateAccount { get; set; }
Property Value
IsError
Whether Error is set.
public bool IsError { get; }
Property Value
IsLogin
Send the user to the login page.
public bool IsLogin { get; set; }
Property Value
IsRedirect
Whether RedirectUrl is set.
public bool IsRedirect { get; }
Property Value
RedirectUrl
A page of the host's own to send the user to, with the return URL appended.
public string? RedirectUrl { get; set; }
Property Value
Remarks
The return URL goes under CustomRedirectReturnUrlParameter; the page resumes the request by sending the user back to it.
ResponseType
An error first, then any page, then nothing: Duende's order.
public InteractionResponseType ResponseType { get; }