public class WorkloadIdentityTokenProvider extends AccessTokenProvider
| Constructor | Description |
|---|---|
WorkloadIdentityTokenProvider(java.lang.String authority,
java.lang.String tenantId,
java.lang.String clientId,
java.lang.String tokenFile) |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
isTokenAboutToExpire() |
Checks if the token is about to expire as per base expiry logic.
|
protected AzureADToken |
refreshToken() |
the method to fetch the access token.
|
getTokenpublic WorkloadIdentityTokenProvider(java.lang.String authority,
java.lang.String tenantId,
java.lang.String clientId,
java.lang.String tokenFile)
protected AzureADToken refreshToken() throws java.io.IOException
AccessTokenProviderrefreshToken in class AccessTokenProviderAzureADToken containing the access tokenjava.io.IOException - if there is an error fetching the tokenprotected boolean isTokenAboutToExpire()
isTokenAboutToExpire in class AccessTokenProviderCopyright © 2008–2025 Apache Software Foundation. All rights reserved.