共用方式為


JwtAuthenticationAttribute Class

Definition

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, Inherited=true)]
public sealed class JwtAuthenticationAttribute : Attribute, System.Web.Http.Filters.IAuthenticationFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, Inherited=true)>]
type JwtAuthenticationAttribute = class
    inherit Attribute
    interface IAuthenticationFilter
    interface IFilter
Public NotInheritable Class JwtAuthenticationAttribute
Inherits Attribute
Implements IAuthenticationFilter
Inheritance
JwtAuthenticationAttribute
Attributes
Implements
System.Web.Http.Filters.IAuthenticationFilter System.Web.Http.Filters.IFilter

Constructors

JwtAuthenticationAttribute()

Properties

AllowMultiple

Methods

AuthenticateAsync(HttpAuthenticationContext, CancellationToken)
ChallengeAsync(HttpAuthenticationChallengeContext, CancellationToken)

Applies to