CookieAuthenticationOptions.AccessDeniedPath Property

Definition

The AccessDeniedPath property is used by the handler for the redirection target when handling 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

Property Value

PathString

Applies to