public interface TokenAuthenticationResult
TokenAuthenticator.| Modifier and Type | Method and Description |
|---|---|
Principal |
getPrincipal()
The principal associated with the request.
|
default Collection<String> |
getScopes()
The authentication scopes.
|
Token |
getToken()
The token that was checked for authentication.
|
default String |
getUnauthenticatedReason()
If not authenticated, this returns the reason why as text.
|
default boolean |
isAuthenticated() |
@Nullable Token getToken()
@Nullable Principal getPrincipal()
default Collection<String> getScopes()
default boolean isAuthenticated()
default String getUnauthenticatedReason()
Copyright © 2020. All rights reserved.