Class OpenIddictValidationAspNetCoreHandlers.AttachWwwAuthenticateHeader<TContext>
Contains the logic responsible of attaching errors details to the WWW-Authenticate header. Note: this handler is not used when the OpenID Connect request is not initially handled by ASP.NET Core.
Inheritance
System.Object
OpenIddictValidationAspNetCoreHandlers.AttachWwwAuthenticateHeader<TContext>
Implements
IOpenIddictValidationHandler<TContext>
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 AttachWwwAuthenticateHeader<TContext> : IOpenIddictValidationHandler<TContext> where TContext : BaseRequestContext
Type Parameters
Name | Description |
---|---|
TContext |
Constructors
AttachWwwAuthenticateHeader(IOptionsMonitor<OpenIddictValidationAspNetCoreOptions>)
Declaration
public AttachWwwAuthenticateHeader(IOptionsMonitor<OpenIddictValidationAspNetCoreOptions> options)
Parameters
Type | Name | Description |
---|---|---|
IOptionsMonitor<OpenIddictValidationAspNetCoreOptions> | options |
Properties
Descriptor
Gets the default descriptor definition assigned to this handler.
Declaration
public static OpenIddictValidationHandlerDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
OpenIddictValidationHandlerDescriptor |
Methods
HandleAsync(TContext)
Processes the event.
Declaration
public ValueTask HandleAsync(TContext context)
Parameters
Type | Name | Description |
---|---|---|
TContext | context | The context associated with the event to process. |
Returns
Type | Description |
---|---|
ValueTask | A |