4 references to Fail
Microsoft.AspNetCore.Authentication (2)
AuthenticationHandler.cs (1)
271
return AuthenticateResult.
Fail
(ex);
Events\ResultContext.cs (1)
62
public void Fail(Exception failure) => Result = AuthenticateResult.
Fail
(failure);
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticateResult.cs (1)
121
=>
Fail
(new AuthenticationFailureException(failureMessage));
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerHandler.cs (1)
193
return AuthenticateResult.
Fail
(authenticationFailedContext.Exception);