Class InteractionResponse
- Namespace
- Duende.IdentityServer.ResponseHandling
- Assembly
- Duende.IdentityServer.dll
Indicates interaction outcome for user on authorization endpoint.
public class InteractionResponse
- Inheritance
-
InteractionResponse
- Inherited Members
Constructors
InteractionResponse()
public InteractionResponse()
Properties
Error
Gets or sets the error.
public string? Error { get; set; }
Property Value
- string
The error.
ErrorDescription
Gets or sets the error description.
public string? ErrorDescription { get; set; }
Property Value
- string
The error description.
IsConsent
Gets or sets a value indicating whether the user must consent.
public bool IsConsent { get; set; }
Property Value
- bool
true
if this instance is consent; otherwise,false
.
IsCreateAccount
Gets or sets a value indicating whether the user must create an account.
public bool IsCreateAccount { get; set; }
Property Value
- bool
true
if this instance is create an account; otherwise,false
.
IsError
Gets a value indicating whether the result is an error.
public bool IsError { get; }
Property Value
- bool
true
if this instance is error; otherwise,false
.
IsLogin
Gets or sets a value indicating whether the user must login.
public bool IsLogin { get; set; }
Property Value
- bool
true
if this instance is login; otherwise,false
.
IsRedirect
Gets a value indicating whether the user must be redirected to a custom page.
public bool IsRedirect { get; }
Property Value
- bool
true
if this instance is redirect; otherwise,false
.
RedirectUrl
Gets or sets the URL for the custom page.
public string? RedirectUrl { get; set; }
Property Value
- string
The redirect URL.
ResponseType
The interaction response type.
public InteractionResponseType ResponseType { get; }