Share via

RemoteAuthenticationOptions.AccessDeniedPath Property


Gets or sets the optional path the user agent is redirected to if the user doesn't approve the authorization demand requested by the remote server. This property is not set by default. In this case, an exception is thrown if an access_denied response is returned by the remote authorization server.

 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

Applies to