CookieAuthenticationOptions.LoginPath Propriété

Définition

La propriété LoginPath est utilisée par le gestionnaire pour la cible de redirection lors de la gestion de ChallengeAsync. URL actuelle qui est ajoutée à LoginPath en tant que paramètre de chaîne de requête nommé par returnUrlParameter. Une fois qu’une demande adressée à LoginPath a accordé une nouvelle identité SignIn, la valeur ReturnUrlParameter est utilisée pour rediriger le navigateur vers l’URL d’origine.

public:
 property Microsoft::AspNetCore::Http::PathString LoginPath { Microsoft::AspNetCore::Http::PathString get(); void set(Microsoft::AspNetCore::Http::PathString value); };
public Microsoft.AspNetCore.Http.PathString LoginPath { get; set; }
member this.LoginPath : Microsoft.AspNetCore.Http.PathString with get, set
Public Property LoginPath As PathString

Valeur de propriété

S’applique à