CookieAuthenticationOptions.AccessDeniedPath 属性

定义

AccessDeniedPath 属性由处理程序在处理 ForbidAsync 时用于重定向目标。

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

属性值

适用于