Bagikan melalui


CookieAuthenticationOptions.AccessDeniedPath Properti

Definisi

Properti AccessDeniedPath menginformasikan middleware bahwa ia harus mengubah kode status Terlarang 403 keluar menjadi pengalihan 302 ke jalur yang diberikan.

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

Nilai Properti

Berlaku untuk