AuthenticationSchemeOptions.ForwardAuthenticate Propriété

Définition

Si cette option est définie, elle spécifie le schéma cible auquel ce schéma doit transférer les appels AuthenticateAsync. Par exemple Context.AuthenticateAsync(« ThisScheme ») => Context.AuthenticateAsync(« ForwardAuthenticateValue »); Définissez la cible sur le schéma actuel pour désactiver le transfert et autoriser un traitement normal.

C#
public string ForwardAuthenticate { get; set; }
C#
public string? ForwardAuthenticate { get; set; }

Valeur de propriété

S’applique à

Produit Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0