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