AuthenticationHandler<TOptions>.ChallengeAsync Metoda

Definice

Přetížení

ChallengeAsync(AuthenticationProperties)

Zdroj:
AuthenticationHandler.cs
Zdroj:
AuthenticationHandler.cs
Zdroj:
AuthenticationHandler.cs

Zpochybte aktuální požadavek.

C#
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
C#
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);

Parametry

properties
AuthenticationProperties

Objekt AuthenticationProperties , který obsahuje další metadata přicházející s ověřováním.

Návraty

Úkol.

Implementuje

Platí pro

ASP.NET Core 9.0 a další verze
Produkt Verze
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

ChallengeAsync(ChallengeContext)

C#
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext context);

Parametry

Návraty

Implementuje

Platí pro

ASP.NET Core 1.1 a ASP.NET Core 1.0
Produkt Verze
ASP.NET Core 1.0, 1.1