| Modifier and Type | Method and Description |
|---|---|
ClientToken |
FlowResult.toSuccessResult() |
| Modifier and Type | Method and Description |
|---|---|
ClientToken |
TokenService.forceRefresh(ClientConfiguration config,
ClientToken token)
Refreshes provided token.
|
ClientToken |
TokenService.refreshIfNeeded(ClientConfiguration config,
ClientToken token,
Duration margin)
Refreshes provided token if needed.
|
| Modifier and Type | Method and Description |
|---|---|
ClientToken |
TokenService.forceRefresh(ClientConfiguration config,
ClientToken token)
Refreshes provided token.
|
boolean |
TokenService.isRefreshNeeded(ClientToken token,
Duration margin)
Provides check to see if refresh is needed.
|
ClientToken |
TokenService.refreshIfNeeded(ClientConfiguration config,
ClientToken token,
Duration margin)
Refreshes provided token if needed.
|
| Modifier and Type | Method and Description |
|---|---|
ClientToken |
TokenHandler.getRefreshedToken(String clientTokenId)
Refreshes and returns the client token, saving the up to date token to the store.
|
ClientToken |
TokenHandler.getRefreshedToken(String clientTokenId,
Duration margin)
Refreshes if access token is already expired or expires within the margin period.
|
| Modifier and Type | Method and Description |
|---|---|
T |
TokenHandler.ClientTokenCallback.apply(ClientToken clientToken)
Method to invoke with a
ClientToken. |
| Modifier and Type | Class and Description |
|---|---|
class |
ClientTokenEntity |
| Modifier and Type | Method and Description |
|---|---|
static ClientTokenEntity.Builder |
ClientTokenEntity.builder(ClientToken data) |
ClientTokenEntity.Builder |
ClientTokenEntity.Builder.updateFrom(ClientToken clientToken) |
Copyright © 2020 Atlassian. All rights reserved.