Package | Description |
---|---|
com.ibm.cloud.objectstorage.oauth |
Modifier and Type | Method and Description |
---|---|
protected Token |
DefaultTokenManager.getCachedToken() |
Token |
DefaultTokenProvider.retrieveToken()
Retrieve the token using the Apache httpclient in a synchronous manner
|
Token |
TokenProvider.retrieveToken()
Retrieve a Token representation of the json object
returned from the IAM Service synchronously
|
Token |
DelegateTokenProvider.retrieveToken()
Retrieve the delegate token using the Apache httpclient in a synchronous manner
|
protected Token |
DefaultTokenManager.retrieveTokenFromCache()
Retrieve the IAM token from cache storage
|
Token |
DefaultTokenProvider.retrieveTokenWithRefresh(String refreshToken)
Retrieve a token using the refresh token instead of the IBM apiKey
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultTokenManager.cacheToken(Token token)
Add the Token object to in-memory cache
|
protected boolean |
DefaultTokenManager.hasTokenExpired(Token token)
Check if the current cached token has expired.
|
protected boolean |
DefaultTokenManager.isTokenExpiring(Token token)
Check if the current cached token is expiring in less than the given
offset.
|
protected void |
DefaultTokenManager.setTokenCache(Token token) |
Copyright © 2024. All rights reserved.