public interface OAuthTokens
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessToken()
Returns the value of the access token
|
java.lang.String |
getIdToken()
Returns the value of the id token
|
java.lang.String |
getRefreshToken()
Returns the value of the refresh token
|
long |
getTokenExpiry()
Returns the token expiry
|
java.lang.String |
getTokenType()
Returns the value the token type e.g Bearer
|
void |
setAccessToken(java.lang.String accessToken)
Sets the value of the access token
|
void |
setIdToken(java.lang.String idToken)
Sets the value of the id token
|
void |
setRefreshToken(java.lang.String refreshToken)
Sets the value of the refresh token
|
void |
setTokenExpiry(long tokenExpiry)
Sets the token expiry
|
void |
setTokenType(java.lang.String tokenType)
Sets the value of the token type e.g Bearer
|
void setAccessToken(java.lang.String accessToken)
accessToken
- valuejava.lang.String getAccessToken()
void setRefreshToken(java.lang.String refreshToken)
refreshToken
- valuejava.lang.String getRefreshToken()
void setTokenExpiry(long tokenExpiry)
tokenExpiry
- valuelong getTokenExpiry()
void setIdToken(java.lang.String idToken)
idToken
- valuejava.lang.String getIdToken()
void setTokenType(java.lang.String tokenType)
tokenType
- valuejava.lang.String getTokenType()