Uses of Interface
com.atlassian.oauth2.client.api.ClientToken
Packages that use ClientToken
Package
Description
-
Uses of ClientToken in com.atlassian.oauth2.client.api.lib.flow
Methods in com.atlassian.oauth2.client.api.lib.flow that return ClientToken -
Uses of ClientToken in com.atlassian.oauth2.client.api.lib.token
Methods in com.atlassian.oauth2.client.api.lib.token that return ClientTokenModifier and TypeMethodDescriptionTokenService.forceRefresh(ClientConfiguration config, ClientToken token) Refreshes provided token.TokenService.refreshIfNeeded(ClientConfiguration config, ClientToken token, Duration margin) Deprecated.Methods in com.atlassian.oauth2.client.api.lib.token with parameters of type ClientTokenModifier and TypeMethodDescriptionTokenService.forceRefresh(ClientConfiguration config, ClientToken token) Refreshes provided token.booleanTokenService.isRefreshNeeded(ClientToken token, Duration margin) Deprecated.this logic is no longer part of the public API.TokenService.refreshIfNeeded(ClientConfiguration config, ClientToken token, Duration margin) Deprecated. -
Uses of ClientToken in com.atlassian.oauth2.client.api.storage
Methods in com.atlassian.oauth2.client.api.storage that return ClientTokenModifier and TypeMethodDescriptionTokenHandler.getRefreshedToken(String clientTokenId) Refreshes and returns the client token, saving the up to date token to the store.TokenHandler.getRefreshedToken(String clientTokenId, Duration margin) Refreshes if access token is already expired or expires within the margin period.Methods in com.atlassian.oauth2.client.api.storage with parameters of type ClientTokenModifier and TypeMethodDescriptionTokenHandler.ClientTokenCallback.apply(ClientToken clientToken) Method to invoke with aClientToken. -
Uses of ClientToken in com.atlassian.oauth2.client.api.storage.token
Classes in com.atlassian.oauth2.client.api.storage.token that implement ClientTokenMethods in com.atlassian.oauth2.client.api.storage.token with parameters of type ClientTokenModifier and TypeMethodDescriptionstatic ClientTokenEntity.BuilderClientTokenEntity.builder(ClientToken data) ClientTokenEntity.Builder.updateFrom(ClientToken clientToken)
TokenHandler.getRefreshedToken(String, Duration)