public interface RefreshTokenManager
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MIN_REFRESH_INTERVAL |
| Modifier and Type | Method and Description |
|---|---|
void |
refreshToken(OAuth2Adapter adapter,
String accessTokenId)
Refreshes the token of the given id for the given adapter.
|
void |
setMinRefreshIntervalInMillis(int minRefreshIntervalInMillis)
Sets the minimum interval of time in which we allow a given access token id to be refresh.
|
static final int DEFAULT_MIN_REFRESH_INTERVAL
void refreshToken(OAuth2Adapter adapter, String accessTokenId) throws Exception
adapter - accessTokenId - Exceptionvoid setMinRefreshIntervalInMillis(int minRefreshIntervalInMillis)
minRefreshIntervalInMillis - a number of millisecondsCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.