AuthenticationHandler<TOptions>.ChallengeAsync Methode

Definition

Überlädt

ChallengeAsync(AuthenticationProperties)

Fordern Sie die aktuelle Anforderung an.

ChallengeAsync(ChallengeContext)

ChallengeAsync(AuthenticationProperties)

Fordern Sie die aktuelle Anforderung an.

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

Parameter

properties
AuthenticationProperties

Die AuthenticationProperties , die die zusätzlichen Metadaten enthält, die bei der Authentifizierung eintreffen.

Gibt zurück

Eine Aufgabe.

Implementiert

Gilt fü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

Parameter

Gibt zurück

Implementiert

Gilt für: