CookieAuthenticationOptions.AccessDeniedPath CookieAuthenticationOptions.AccessDeniedPath CookieAuthenticationOptions.AccessDeniedPath Property

Definition

The AccessDeniedPath property informs the middleware that it should change an outgoing 403 Forbidden status code into a 302 redirection onto the given path.

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

Applies to