Class ConsentResponse
- Namespace
- Duende.IdentityServer.Models
- Assembly
- Duende.IdentityServer.dll
Models the user's response to the consent screen.
public class ConsentResponse
- Inheritance
-
ConsentResponse
- Inherited Members
Constructors
ConsentResponse()
public ConsentResponse()
Properties
Description
Gets the description of the device.
public string? Description { get; set; }
Property Value
- string
The description of the device.
Error
Error, if any, for the consent response.
public AuthorizationError? Error { get; set; }
Property Value
ErrorDescription
Error description.
public string? ErrorDescription { get; set; }
Property Value
Granted
Gets if consent was granted.
public bool Granted { get; }
Property Value
- bool
true
if consent was granted; otherwise,false
.
RememberConsent
Gets or sets a value indicating whether the user wishes the consent to be remembered.
public bool RememberConsent { get; set; }
Property Value
- bool
true
if consent is to be remembered; otherwise,false
.
ScopesValuesConsented
Gets or sets the scope values consented to.
public IEnumerable<string>? ScopesValuesConsented { get; set; }
Property Value
- IEnumerable<string>
The scopes.