Table of Contents

Class IsActiveContext

Namespace
Duende.IdentityServer.Models
Assembly
Duende.IdentityServer.dll

Context describing the is-active check

public class IsActiveContext
Inheritance
IsActiveContext
Inherited Members

Constructors

IsActiveContext(ClaimsPrincipal, Client, string)

Initializes a new instance of the IsActiveContext class.

public IsActiveContext(ClaimsPrincipal subject, Client client, string caller)

Parameters

subject ClaimsPrincipal
client Client
caller string

Properties

Caller

Gets or sets the caller.

public string Caller { get; set; }

Property Value

string

The caller.

Client

Gets or sets the client.

public Client Client { get; set; }

Property Value

Client

The client.

IsActive

Gets or sets a value indicating whether the subject is active and can receive tokens.

public bool IsActive { get; set; }

Property Value

bool

true if the subject is active; otherwise, false.

Subject

Gets or sets the subject.

public ClaimsPrincipal Subject { get; set; }

Property Value

ClaimsPrincipal

The subject.