Package com.ibm.security.access.ciclient
Class AccessToken
java.lang.Object
com.ibm.security.access.ciclient.AccessToken
A representation of the CI Access Token.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the access token.intReturn the number of seconds that this access token is valid.Returns the time that this access token expires.getScope()Returns the scope for which this access token is valid.Returns the type of the access token.
- 
Method Details- 
getAccessTokenReturns the access token.- Returns:
- String
 
- 
getScopeReturns the scope for which this access token is valid.- Returns:
- String
 
- 
getTokenTypeReturns the type of the access token. For example Bearer.- Returns:
- String
 
- 
getExpiresInpublic int getExpiresIn()Return the number of seconds that this access token is valid.- Returns:
- int
 
- 
getExpiresTimeReturns the time that this access token expires.- Returns:
- java.time.Instant
 
 
-