Partager via


JwtAuthenticationAttribute Classe

Définition

[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
Héritage
JwtAuthenticationAttribute
Attributs
Implémente
System.Web.Http.Filters.IAuthenticationFilter System.Web.Http.Filters.IFilter

Constructeurs

JwtAuthenticationAttribute()

Propriétés

AllowMultiple

Méthodes

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

S’applique à