1 instantiation of CertificateAuthenticationFailedContext
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationHandler.cs (1)
106
var authenticationFailedContext = new
CertificateAuthenticationFailedContext
(Context, Scheme, Options)
6 references to CertificateAuthenticationFailedContext
Microsoft.AspNetCore.Authentication.Certificate (6)
CertificateAuthenticationHandler.cs (4)
82
var
authenticationFailedContext = await HandleFailureAsync(result.Failure);
94
var
authenticationFailedContext = await HandleFailureAsync(ex);
104
private async Task<
CertificateAuthenticationFailedContext
> HandleFailureAsync(Exception error)
106
var
authenticationFailedContext = new CertificateAuthenticationFailedContext(Context, Scheme, Options)
Events\CertificateAuthenticationEvents.cs (2)
16
public Func<
CertificateAuthenticationFailedContext
, Task> OnAuthenticationFailed { get; set; } = context => Task.CompletedTask;
38
public virtual Task AuthenticationFailed(
CertificateAuthenticationFailedContext
context) => OnAuthenticationFailed(context);