Aracılığıyla paylaş


RemoteAuthenticationHandler<TOptions>.HandleForbiddenAsync Yöntem

Tanım

Aşırı Yüklemeler

HandleForbiddenAsync(ChallengeContext)
HandleForbiddenAsync(AuthenticationProperties)

Forbid'i işlemek için bu yöntemi geçersiz kılın.

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)

Parametreler

Döndürülenler

Şunlara uygulanır

HandleForbiddenAsync(AuthenticationProperties)

Kaynak:
RemoteAuthenticationHandler.cs
Kaynak:
RemoteAuthenticationHandler.cs
Kaynak:
RemoteAuthenticationHandler.cs

Forbid'i işlemek için bu yöntemi geçersiz kılın.

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

Parametreler

Döndürülenler

Bir Görev.

Şunlara uygulanır