public class AuthenticationFailed extends java.lang.Object implements AuthenticationResponse
| Constructor and Description |
|---|
AuthenticationFailed()
Necessary for JSON Serialization.
|
AuthenticationFailed(AuthenticationFailureReason authenticationFailure) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
createMessage(AuthenticationFailureReason authenticationFailure)
Generates a Title Case string for give authentication Failure.
|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.lang.String> |
getMessage()
message getter.
|
AuthenticationFailureReason |
getReason() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisAuthenticatedpublic AuthenticationFailed()
public AuthenticationFailed(AuthenticationFailureReason authenticationFailure)
authenticationFailure - AuthenticationFailure enum which represents the failure reasonprotected java.lang.String createMessage(AuthenticationFailureReason authenticationFailure)
authenticationFailure - the authentication failurepublic java.util.Optional<java.lang.String> getMessage()
getMessage in interface AuthenticationResponsepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic AuthenticationFailureReason getReason()