共用方式為


CookieAuthenticationDefaults.LoginPath 欄位

定義

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

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

欄位值

適用於