Table of Contents

Class IsActiveContext

Namespace
Fdyay.IdentityServer.Services
Assembly
Fdyay.IdentityServer.Core.dll
public class IsActiveContext
Inheritance
IsActiveContext
Inherited Members

Constructors

IsActiveContext(ClaimsPrincipal, Client, string)

Creates a context for a request being served for client.

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

Parameters

subject ClaimsPrincipal
client Client
caller string

IsActiveContext(ClaimsPrincipal, IConnectedApplication, string)

Creates a context for a request being served for application.

public IsActiveContext(ClaimsPrincipal subject, IConnectedApplication application, string caller)

Parameters

subject ClaimsPrincipal
application IConnectedApplication
caller string

Properties

Application

The application the check is being made for.

public IConnectedApplication Application { get; }

Property Value

IConnectedApplication

Caller

public string Caller { get; }

Property Value

string

IsActive

Whether the subject is still allowed to obtain tokens. Defaults to true.

public bool IsActive { get; set; }

Property Value

bool

Subject

The user the check is for.

public ClaimsPrincipal Subject { get; }

Property Value

ClaimsPrincipal