10 instantiations of AuthenticationFailureException
Microsoft.AspNetCore.Authentication (4)
HandleRequestResult.cs (2)
65=> Fail(new AuthenticationFailureException(failureMessage)); 74=> Fail(new AuthenticationFailureException(failureMessage), properties);
RemoteAuthenticationHandler.cs (2)
134throw new AuthenticationFailureException("An error was returned from the RemoteFailure event.", errorContext.Result.Failure); 140throw new AuthenticationFailureException("An error was encountered while handling the remote login.", errorContext.Failure);
Microsoft.AspNetCore.Authentication.Abstractions (2)
AuthenticateResult.cs (2)
121=> Fail(new AuthenticationFailureException(failureMessage)); 130=> Fail(new AuthenticationFailureException(failureMessage), properties);
Microsoft.AspNetCore.Authentication.OAuth (4)
OAuthHandler.cs (3)
99var deniedEx = new AuthenticationFailureException("Access was denied by the resource owner or by the remote server."); 118var ex = new AuthenticationFailureException(failureMessage.ToString()); 239return OAuthTokenResponse.Failed(new AuthenticationFailureException(errorMessage));
OAuthTokenResponse.cs (1)
118var exception = new AuthenticationFailureException(result.ToString());
5 references to AuthenticationFailureException
Microsoft.AspNetCore.Authentication.Abstractions (2)
AuthenticationFailureException.cs (2)
12/// Creates a new instance of <see cref="AuthenticationFailureException"/> 22/// Creates a new instance of <see cref="AuthenticationFailureException"/>
Microsoft.AspNetCore.Authentication.OAuth (3)
OAuthHandler.cs (2)
99var deniedEx = new AuthenticationFailureException("Access was denied by the resource owner or by the remote server."); 118var ex = new AuthenticationFailureException(failureMessage.ToString());
OAuthTokenResponse.cs (1)
118var exception = new AuthenticationFailureException(result.ToString());