CookieAuthenticationOptions.AccessDeniedPath 屬性

定義

處理 ForbidAsync 時,重新導向目標的處理常式會使用 AccessDeniedPath 屬性。

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

屬性值

適用於