public interface AuthenticationResponse
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
getMessage() |
java.util.Optional<UserDetails> |
getUserDetails() |
default boolean |
isAuthenticated()
If true, it is expected the
getUserDetails() method will return
a non empty optional. |
default boolean isAuthenticated()
getUserDetails()
method will return
a non empty optional.java.util.Optional<UserDetails> getUserDetails()
java.util.Optional<java.lang.String> getMessage()