C# Class FrontendServices.Authorization.AuthenticateAttribute

Inheritance: IAuthenticationFilter
显示文件 Open project: LeagueOfDevelopers/LodCore

Public Methods

Method Description
AuthenticateAsync ( System.Web.Http.Filters.HttpAuthenticationContext context, CancellationToken cancellationToken ) : Task
AuthenticateAttribute ( IAuthorizer authorizer ) : System.Net.Http.Headers
ChallengeAsync ( System.Web.Http.Filters.HttpAuthenticationChallengeContext context, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
SetupUnauthenticated ( ) : void

Method Details

AuthenticateAsync() public method

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

AuthenticateAttribute() public method

public AuthenticateAttribute ( IAuthorizer authorizer ) : System.Net.Http.Headers
authorizer IAuthorizer
return System.Net.Http.Headers

ChallengeAsync() public method

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