CookieAuthenticationOptions.AccessDeniedPath Proprietà

Definizione

La proprietà AccessDeniedPath informa il middleware che deve modificare un codice di stato 403 Accesso negato in uscita in un reindirizzamento 302 nel percorso specificato.

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

Valore della proprietà

Si applica a