public class ClientCredsTokenProvider extends AccessTokenProvider
| Constructor | Description |
|---|---|
ClientCredsTokenProvider(java.lang.String authEndpoint,
java.lang.String clientId,
java.lang.String clientSecret) |
| Modifier and Type | Method | Description |
|---|---|---|
protected AzureADToken |
refreshToken() |
the method to fetch the access token.
|
getToken, isTokenAboutToExpirepublic ClientCredsTokenProvider(java.lang.String authEndpoint,
java.lang.String clientId,
java.lang.String clientSecret)
protected AzureADToken refreshToken() throws java.io.IOException
AccessTokenProviderrefreshToken in class AccessTokenProviderAzureADToken containing the access tokenjava.io.IOException - if there is an error fetching the tokenCopyright © 2008–2025 Apache Software Foundation. All rights reserved.