1 instantiation of AccessDeniedContext
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
290
var context = new
AccessDeniedContext
(Context, Scheme, Options)
6 references to AccessDeniedContext
Microsoft.AspNetCore.Authentication (4)
Events\AccessDeniedContext.cs (1)
14
/// Initializes a new instance of <see cref="
AccessDeniedContext
"/>.
Events\RemoteAuthenticationEvents.cs (2)
14
public Func<
AccessDeniedContext
, Task> OnAccessDenied { get; set; } = context => Task.CompletedTask;
29
public virtual Task AccessDenied(
AccessDeniedContext
context) => OnAccessDenied(context);
RemoteAuthenticationHandler.cs (1)
290
var
context = new AccessDeniedContext(Context, Scheme, Options)
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1217
public override Task AccessDenied(
AccessDeniedContext
context)
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1217
public override Task AccessDenied(
AccessDeniedContext
context)