Partager via


CookieAuthenticationOptions.AccessDeniedPath Propriété

Définition

La propriété AccessDeniedPath informe le middleware qu’il doit modifier un code status 403 Forbidden sortant en redirection 302 sur le chemin donné.

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

Valeur de propriété

S’applique à