Compartilhar via


JwtAuthenticationAttribute.AuthenticateAsync Método

Definição

public System.Threading.Tasks.Task AuthenticateAsync (System.Web.Http.Filters.HttpAuthenticationContext context, System.Threading.CancellationToken cancellationToken);
abstract member AuthenticateAsync : System.Web.Http.Filters.HttpAuthenticationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.AuthenticateAsync : System.Web.Http.Filters.HttpAuthenticationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AuthenticateAsync (context As HttpAuthenticationContext, cancellationToken As CancellationToken) As Task

Parâmetros

context
System.Web.Http.Filters.HttpAuthenticationContext
cancellationToken
CancellationToken

Retornos

Implementações

System.Web.Http.Filters.IAuthenticationFilter.AuthenticateAsync(System.Web.Http.Filters.HttpAuthenticationContext,System.Threading.CancellationToken)

Aplica-se a