public final class CustomTokenProviderAdapter extends AccessTokenProvider
| Constructor and Description |
|---|
CustomTokenProviderAdapter(CustomTokenProviderAdaptee adaptee)
Constructs a token provider based on the custom token provider.
|
| Modifier and Type | Method and Description |
|---|---|
protected AzureADToken |
refreshToken()
the method to fetch the access token.
|
getTokenpublic CustomTokenProviderAdapter(CustomTokenProviderAdaptee adaptee)
adaptee - the custom token providerprotected AzureADToken refreshToken() throws IOException
AccessTokenProviderrefreshToken in class AccessTokenProviderAzureADToken containing the access tokenIOException - if there is an error fetching the tokenCopyright © 2008–2020 Apache Software Foundation. All rights reserved.