AuthenticationHandler<TOptions>.ChallengeAsync 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
ChallengeAsync(AuthenticationProperties) |
Geçerli isteğe meydan okuyun. |
ChallengeAsync(ChallengeContext) |
ChallengeAsync(AuthenticationProperties)
- Kaynak:
- AuthenticationHandler.cs
- Kaynak:
- AuthenticationHandler.cs
- Kaynak:
- AuthenticationHandler.cs
Geçerli isteğe meydan okuyun.
public:
virtual System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
abstract member ChallengeAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
override this.ChallengeAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Function ChallengeAsync (properties As AuthenticationProperties) As Task
Parametreler
- properties
- AuthenticationProperties
AuthenticationProperties Kimlik doğrulamasıyla gelen ek meta verileri içeren.
Döndürülenler
Bir görev.
Uygulamalar
Şunlara uygulanır
ChallengeAsync(ChallengeContext)
public:
virtual System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Http::Features::Authentication::ChallengeContext ^ context);
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext context);
abstract member ChallengeAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task
override this.ChallengeAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task
Public Function ChallengeAsync (context As ChallengeContext) As Task
Parametreler
- context
- ChallengeContext