Class AuthenticationFailed

java.lang.Object
io.micronaut.security.authentication.AuthenticationFailed
All Implemented Interfaces:
AuthenticationResponse, Serializable

public class AuthenticationFailed extends Object implements AuthenticationResponse
Signalises an authentication failure and stores the failure reason.
Since:
1.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • AuthenticationFailed

      public AuthenticationFailed()
      Necessary for JSON Serialization.
    • AuthenticationFailed

      public AuthenticationFailed(AuthenticationFailureReason authenticationFailure)
      Parameters:
      authenticationFailure - The failure reason
    • AuthenticationFailed

      public AuthenticationFailed(String message)
      Parameters:
      message - The authentication failure description
  • Method Details