@UESComponent public interface JWTTokenProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION_URI
Parameter name used in custom claims.
|
static java.lang.String |
CLIENT_CODE
Name of claim used for application code.
|
static java.lang.String |
CLIENT_ID
Name of claim used for application Id.
|
static java.lang.String |
CLIENT_NAME
Name of claim used for application name.
|
static java.lang.String |
CLIENT_UNIVERSE_ID
Name of claim used for application Universe Id.
|
static java.lang.String |
INITIATOR_ID
Name of claim used for initiator subject identifier.
|
static java.lang.String |
INITIATOR_LANGUAGE
Name of claim used for initiator subject locale.
|
static java.lang.String |
INITIATOR_NAME
Name of claim used for initiator subject (composed) name.
|
static java.lang.String |
INITIATOR_UNIVERSE_ID
Name of claim used for initiator subject Universe Id.
|
static java.lang.String |
SECURITY_REALM
Name of claim used for security realm.
|
static java.lang.String |
SUBJECT_ID
Name of claim used for subject identifier.
|
static java.lang.String |
SUBJECT_LANGUAGE
Name of claim used for subject locale.
|
static java.lang.String |
SUBJECT_NAME
Name of claim used for subject (composed) name.
|
static java.lang.String |
SUBJECT_UNIVERSE_ID
Name of claim used for subject Universe Id.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getToken()
Creates a token.
|
java.lang.String |
getToken(java.util.Map<java.lang.String,java.lang.String> claims)
Creates a token.
|
java.lang.String |
refreshToken(java.lang.String token)
Refresh token validity.
|
JWTTokenProviderRTException
- If secured form token cannot be created (e.g.
no authorization was made).claims
- Map of claims.JWTTokenProviderRTException
- If secured form token cannot be created (e.g.
no authorization was made).token
- token to be refreshedJWTTokenProviderRTException
- if secured token cannot be refreshed