C# Class Account.Filters.CustomAuthenticationFilter

自定义认证
Inheritance: System.Attribute, IAuthenticationFilter
Afficher le fichier Open project: KINGGUOKUN/Account

Méthodes publiques

Méthode Description
AuthenticateAsync ( System.Web.Http.Filters.HttpAuthenticationContext context, CancellationToken cancellationToken ) : Task
ChallengeAsync ( System.Web.Http.Filters.HttpAuthenticationChallengeContext context, CancellationToken cancellationToken ) : Task

Private Methods

Méthode Description
AuthenticateAsync ( HttpRequestMessage request ) : Task

Method Details

AuthenticateAsync() public méthode

public AuthenticateAsync ( System.Web.Http.Filters.HttpAuthenticationContext context, CancellationToken cancellationToken ) : Task
context System.Web.Http.Filters.HttpAuthenticationContext
cancellationToken System.Threading.CancellationToken
Résultat Task

ChallengeAsync() public méthode

public ChallengeAsync ( System.Web.Http.Filters.HttpAuthenticationChallengeContext context, CancellationToken cancellationToken ) : Task
context System.Web.Http.Filters.HttpAuthenticationChallengeContext
cancellationToken System.Threading.CancellationToken
Résultat Task