Table of Contents

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

string

Error

The error to return to the client, when the request was denied.

public InteractionError? Error { get; init; }

Property Value

InteractionError?

ErrorDescription

Optional human-readable detail for Error.

public string? ErrorDescription { get; init; }

Property Value

string

Granted

Whether consent was granted (no error, and at least one scope consented).

public bool Granted { get; }

Property Value

bool

RememberConsent

Whether the decision should be remembered for future requests. Defaults to true.

public bool RememberConsent { get; init; }

Property Value

bool

ScopesValuesConsented

The scope values the user consented to.

public IReadOnlyCollection<string> ScopesValuesConsented { get; init; }

Property Value

IReadOnlyCollection<string>