Class IsActiveContext
- Namespace
- Fdyay.IdentityServer.Services
- Assembly
- Fdyay.IdentityServer.Core.dll
Context passed to IsActiveAsync(IsActiveContext, CancellationToken).
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
subjectClaimsPrincipalclientClientcallerstring
IsActiveContext(ClaimsPrincipal, IConnectedApplication, string)
Creates a context for a request being served for application.
public IsActiveContext(ClaimsPrincipal subject, IConnectedApplication application, string caller)
Parameters
subjectClaimsPrincipalapplicationIConnectedApplicationcallerstring
Properties
Application
The application the check is being made for.
public IConnectedApplication Application { get; }
Property Value
Caller
What is asking — one of IdentityServerConstants.ProfileIsActiveCallers.
public string Caller { get; }
Property Value
IsActive
Whether the subject is still allowed to obtain tokens. Defaults to true.
public bool IsActive { get; set; }
Property Value
Subject
The user the check is for.
public ClaimsPrincipal Subject { get; }