public interface TokenService
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_URL_PATH |
| Modifier and Type | Method and Description |
|---|---|
<T extends AccessToken> |
fetch()
Sends a request for an Access Token to the backend Token Service.
|
<T extends AccessToken> |
refresh(String refreshTokenString)
Sends a refresh token request to the Token Service using the supplied refreshTokenSeting.
|
static final String DEFAULT_URL_PATH
<T extends AccessToken> T fetch() throws OAuth2ProtocolException, IOException
OAuth2ProtocolExceptionIOException<T extends AccessToken> T refresh(String refreshTokenString) throws OAuth2ProtocolException, IOException
refreshTokenString - The refresh token supplied with the access token fetched initiallyOAuth2ProtocolExceptionIOExceptionRuntimeException - if this delegate and/or the backend token service does not support refresh of tokens.Copyright © 2017. All rights reserved.