RemoteAuthenticationHandler<TOptions>.HandleForbiddenAsync Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
HandleForbiddenAsync(ChallengeContext) | |
HandleForbiddenAsync(AuthenticationProperties) |
Substitua esse método para manipular Forbid. |
HandleForbiddenAsync(ChallengeContext)
protected:
override System::Threading::Tasks::Task<bool> ^ HandleForbiddenAsync(Microsoft::AspNetCore::Http::Features::Authentication::ChallengeContext ^ context);
protected override System.Threading.Tasks.Task<bool> HandleForbiddenAsync (Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext context);
override this.HandleForbiddenAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task<bool>
Protected Overrides Function HandleForbiddenAsync (context As ChallengeContext) As Task(Of Boolean)
Parâmetros
- context
- ChallengeContext
Retornos
Aplica-se a
HandleForbiddenAsync(AuthenticationProperties)
Substitua esse método para manipular Forbid.
protected:
override System::Threading::Tasks::Task ^ HandleForbiddenAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected override System.Threading.Tasks.Task HandleForbiddenAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
override this.HandleForbiddenAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Protected Overrides Function HandleForbiddenAsync (properties As AuthenticationProperties) As Task
Parâmetros
- properties
- AuthenticationProperties
Retornos
Uma Tarefa.