Table of Contents

Class ConsentGrantedEvent

Namespace
Duende.IdentityServer.Events
Assembly
Duende.IdentityServer.dll

Event for granted consent.

public class ConsentGrantedEvent : Event
Inheritance
ConsentGrantedEvent
Inherited Members

Constructors

ConsentGrantedEvent(string, string, IEnumerable<string>, IEnumerable<string>, bool)

Initializes a new instance of the ConsentGrantedEvent class.

public ConsentGrantedEvent(string subjectId, string clientId, IEnumerable<string> requestedScopes, IEnumerable<string> grantedScopes, bool consentRemembered)

Parameters

subjectId string

The subject identifier.

clientId string

The client identifier.

requestedScopes IEnumerable<string>

The requested scopes.

grantedScopes IEnumerable<string>

The granted scopes.

consentRemembered bool

if set to true consent was remembered.

See Also

Properties

ClientId

Gets or sets the client ID.

public string ClientId { get; set; }

Property Value

string

The client identifier.

See Also

ConsentRemembered

Gets or sets a value indicating whether consent was remembered.

public bool ConsentRemembered { get; set; }

Property Value

bool

true if consent was remembered; otherwise, false.

See Also

GrantedScopes

Gets or sets the granted scopes.

public IEnumerable<string> GrantedScopes { get; set; }

Property Value

IEnumerable<string>

The granted scopes.

See Also

RequestedScopes

Gets or sets the requested scopes.

public IEnumerable<string> RequestedScopes { get; set; }

Property Value

IEnumerable<string>

The requested scopes.

See Also

SubjectId

Gets or sets the subject identifier.

public string SubjectId { get; set; }

Property Value

string

The subject identifier.

See Also

See Also