共用方式為


CookieAuthenticationDefaults.AccessDeniedPath 欄位

定義

CookieAuthenticationMiddleware 針對 CookieAuthenticationOptions.AccessDeniedPath 使用的預設值

public: static initonly Microsoft::AspNetCore::Http::PathString AccessDeniedPath;
public static readonly Microsoft.AspNetCore.Http.PathString AccessDeniedPath;
 staticval mutable AccessDeniedPath : Microsoft.AspNetCore.Http.PathString
Public Shared ReadOnly AccessDeniedPath As PathString 

欄位值

適用於