Class ConsentResponse
- Namespace
- Fdyay.IdentityServer.Models
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
The user's decision on a pending authorization request.
public sealed class ConsentResponse
- Inheritance
-
ConsentResponse
- Inherited Members
Properties
Description
Optional description of the decision (e.g. the device name), for the user's grant list.
public string? Description { get; init; }
Property Value
Error
The error to return to the client, when the request was denied.
public InteractionError? Error { get; init; }
Property Value
ErrorDescription
Optional human-readable detail for Error.
public string? ErrorDescription { get; init; }
Property Value
Granted
Whether consent was granted (no error, and at least one scope consented).
public bool Granted { get; }
Property Value
RememberConsent
Whether the decision should be remembered for future requests. Defaults to true.
public bool RememberConsent { get; init; }
Property Value
ScopesValuesConsented
The scope values the user consented to.
public IReadOnlyCollection<string> ScopesValuesConsented { get; init; }