Class OpenIddictValidationAspNetCoreHandlers.ExtractAccessTokenFromAuthorizationHeader
Contains the logic responsible of extracting the access token from the standard HTTP Authorization header. Note: this handler is not used when the OpenID Connect request is not initially handled by ASP.NET Core.
Inheritance
System.Object
OpenIddictValidationAspNetCoreHandlers.ExtractAccessTokenFromAuthorizationHeader
Implements
IOpenIddictValidationHandler<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.AspNetCore
Assembly: cs.temp.dll.dll
Syntax
public class ExtractAccessTokenFromAuthorizationHeader : IOpenIddictValidationHandler<ProcessAuthenticationContext>
Properties
Descriptor
Gets the default descriptor definition assigned to this handler.
Declaration
public static OpenIddictValidationHandlerDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
OpenIddictValidationHandlerDescriptor |
Methods
HandleAsync(ProcessAuthenticationContext)
Processes the event.
Declaration
public ValueTask HandleAsync(ProcessAuthenticationContext context)
Parameters
Type | Name | Description |
---|---|---|
ProcessAuthenticationContext | context |
Returns
Type | Description |
---|---|
ValueTask | A |