@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()
token type getter.
|
java.lang.String |
getRefreshToken()
refreshToken getter.
|
java.lang.String |
getTokenType()
token type getter.
|
public AccessRefreshToken()
public AccessRefreshToken(java.lang.String accessToken, java.lang.String refreshToken, java.lang.String tokenType)
accessToken
- JWT tokenrefreshToken
- JWT tokentokenType
- Type of tokenpublic AccessRefreshToken(java.lang.String accessToken, java.lang.String refreshToken, java.lang.String tokenType, 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()