2 writes to AccessDeniedPath
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
292
AccessDeniedPath
= Options.AccessDeniedPath,
Microsoft.AspNetCore.Authentication.Test (1)
GoogleTests.cs (1)
427
ctx.
AccessDeniedPath
= "/custom-denied-page";
4 references to AccessDeniedPath
Microsoft.AspNetCore.Authentication (2)
RemoteAuthenticationHandler.cs (2)
315
if (context.
AccessDeniedPath
.HasValue)
317
string uri = context.
AccessDeniedPath
;
Microsoft.AspNetCore.Authentication.Test (2)
GoogleTests.cs (2)
424
Assert.Equal("/access-denied", ctx.
AccessDeniedPath
.Value);
455
Assert.Null(ctx.
AccessDeniedPath
.Value);