1 instantiation of AuthenticationFailedContext
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectHandler.cs (1)
1361
var context = new
AuthenticationFailedContext
(Context, Scheme, Options)
8 references to AuthenticationFailedContext
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
Events\AuthenticationFailedContext.cs (1)
15
/// Initializes a new instance of <see cref="
AuthenticationFailedContext
"/>.
Events\OpenIdConnectEvents.cs (2)
14
public Func<
AuthenticationFailedContext
, Task> OnAuthenticationFailed { get; set; } = context => Task.CompletedTask;
72
public virtual Task AuthenticationFailed(
AuthenticationFailedContext
context) => OnAuthenticationFailed(context);
OpenIdConnectHandler.cs (3)
942
var
authenticationFailedContext = await RunAuthenticationFailedEventAsync(authorizationResponse, exception);
1359
private async Task<
AuthenticationFailedContext
> RunAuthenticationFailedEventAsync(OpenIdConnectMessage message, Exception exception)
1361
var
context = new AuthenticationFailedContext(Context, Scheme, Options)
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1205
public override Task AuthenticationFailed(
AuthenticationFailedContext
context)
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1205
public override Task AuthenticationFailed(
AuthenticationFailedContext
context)