AuthenticationHandler<TOptions>.HandleForbiddenAsync Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
HandleForbiddenAsync(AuthenticationProperties) |
Forbid'i işlemek için bu yöntemi geçersiz kılın. |
HandleForbiddenAsync(ChallengeContext) |
Yasak olan bir sınamayla başa çıkmak için bu yöntemi geçersiz kılın. |
HandleForbiddenAsync(AuthenticationProperties)
- Kaynak:
- AuthenticationHandler.cs
- Kaynak:
- AuthenticationHandler.cs
- Kaynak:
- AuthenticationHandler.cs
Forbid'i işlemek için bu yöntemi geçersiz kılın.
protected:
virtual System::Threading::Tasks::Task ^ HandleForbiddenAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected virtual System.Threading.Tasks.Task HandleForbiddenAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
abstract member HandleForbiddenAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
override this.HandleForbiddenAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Protected Overridable Function HandleForbiddenAsync (properties As AuthenticationProperties) As Task
Parametreler
- properties
- AuthenticationProperties
Döndürülenler
Bir Görev.
Şunlara uygulanır
HandleForbiddenAsync(ChallengeContext)
Yasak olan bir sınamayla başa çıkmak için bu yöntemi geçersiz kılın.
protected:
virtual System::Threading::Tasks::Task<bool> ^ HandleForbiddenAsync(Microsoft::AspNetCore::Http::Features::Authentication::ChallengeContext ^ context);
protected virtual System.Threading.Tasks.Task<bool> HandleForbiddenAsync (Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext context);
abstract member HandleForbiddenAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task<bool>
override this.HandleForbiddenAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task<bool>
Protected Overridable Function HandleForbiddenAsync (context As ChallengeContext) As Task(Of Boolean)
Parametreler
- context
- ChallengeContext
Döndürülenler
Döndürülen boole değeri yoksayılır.