| Package | Description |
|---|---|
| com.sap.cloud.security.servlet | |
| com.sap.cloud.security.token |
| Modifier and Type | Method and Description |
|---|---|
Token |
TokenAuthenticationResult.getToken()
The token that was checked for authentication.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AccessToken
Represents an access token in the format of a JSON Web Token (not a short
opaque token).
|
| Modifier and Type | Method and Description |
|---|---|
static Token |
Token.create(String jwt)
Creates a token instance based on TokenFactory implementation.
|
Token |
TokenFactory.create(String jwtToken)
Returns a token interface for the given JWT token
|
static Token |
SecurityContext.getToken()
Returns the token that is saved in thread wide storage.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SecurityContext.setToken(Token token)
Saves the validated (!) token thread wide.
|
Copyright © 2022. All rights reserved.