語言

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

屬性值

適用於