Class OpenIddictValidationEvents.ProcessAuthenticationContext
Represents an event called when processing an authentication operation.
Inheritance
System.Object
OpenIddictValidationEvents.ProcessAuthenticationContext
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenIddict.Validation
Assembly: cs.temp.dll.dll
Syntax
public class ProcessAuthenticationContext : OpenIddictValidationEvents.BaseValidatingContext
Constructors
ProcessAuthenticationContext(OpenIddictValidationTransaction)
Creates a new instance of the OpenIddictValidationEvents.ProcessAuthenticationContext class.
Declaration
public ProcessAuthenticationContext(OpenIddictValidationTransaction transaction)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictValidationTransaction | transaction |
Properties
Principal
Gets or sets the security principal.
Declaration
public ClaimsPrincipal? Principal { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ClaimsPrincipal> |
Request
Gets or sets the request.
Declaration
public OpenIddictRequest Request { get; set; }
Property Value
Type | Description |
---|---|
OpenIddictRequest |
Token
Gets or sets the token to validate.
Declaration
public string Token { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TokenType
Gets or sets the expected type of the token.
Declaration
public string TokenType { get; set; }
Property Value
Type | Description |
---|---|
System.String |