@Introspected
public class AccessRefreshToken
extends java.lang.Object
Constructor and Description |
---|
AccessRefreshToken()
Necessary for JSON serialization.
|
AccessRefreshToken(java.lang.String accessToken,
java.lang.String refreshToken,
java.lang.String tokenType) |
AccessRefreshToken(java.lang.String accessToken,
java.lang.String refreshToken,
java.lang.String tokenType,
java.lang.Integer expiresIn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessToken()
accessToken getter.
|
java.lang.Integer |
getExpiresIn()
lifetime in seconds of the access token getter.
|
java.lang.String |
getRefreshToken()
refreshToken getter.
|
java.lang.String |
getTokenType()
token type getter.
|
public AccessRefreshToken()
public AccessRefreshToken(java.lang.String accessToken, @Nullable java.lang.String refreshToken, java.lang.String tokenType)
accessToken
- JWT tokenrefreshToken
- JWT tokentokenType
- Type of token@Creator public AccessRefreshToken(java.lang.String accessToken, @Nullable java.lang.String refreshToken, java.lang.String tokenType, @Nullable java.lang.Integer expiresIn)
accessToken
- JWT tokenrefreshToken
- JWT tokentokenType
- Type of tokenexpiresIn
- Seconds until token expirationpublic java.lang.String getAccessToken()
public java.lang.String getRefreshToken()
public java.lang.String getTokenType()
public java.lang.Integer getExpiresIn()