4 references to Fail
Microsoft.AspNetCore.Authentication (2)
AuthenticationHandler.cs (1)
271return AuthenticateResult.Fail(ex);
Events\ResultContext.cs (1)
62public 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)
193return AuthenticateResult.Fail(authenticationFailedContext.Exception);