Uses of Class
com.atlassian.oauth2.client.api.storage.token.exception.RecoverableTokenException
Packages that use RecoverableTokenException
-
Uses of RecoverableTokenException in com.atlassian.oauth2.client.api.storage
Methods in com.atlassian.oauth2.client.api.storage that throw RecoverableTokenExceptionModifier and TypeMethodDescription<T> TTokenHandler.execute(String clientTokenId, TokenHandler.ClientTokenCallback<T> callback) Handles the use ofClientToken, automatically applying a refresh before executing the callback if required.<T> TTokenHandler.execute(String clientTokenId, TokenHandler.ClientTokenCallback<T> callback, Duration margin) Handles the use ofClientToken, automatically applying a refresh before executing the callback if required.TokenHandler.getRefreshedToken(String clientTokenId) Refreshes and returns the client token, saving the up to date token to the store.TokenHandler.getRefreshedToken(String externalId, String configId, Duration margin) Fetches the OAuth2 Token for a given resource owner and configuration.TokenHandler.getRefreshedToken(String clientTokenId, Duration margin) Refreshes if access token is already expired or expires within the margin period.