public class MsiTokenProvider extends AccessTokenProvider
| Constructor and Description |
|---|
MsiTokenProvider(String authEndpoint,
String tenantGuid,
String clientId,
String authority) |
| Modifier and Type | Method and 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.
|
getTokenprotected AzureADToken refreshToken() throws IOException
AccessTokenProviderrefreshToken in class AccessTokenProviderAzureADToken containing the access tokenIOException - if there is an error fetching the tokenprotected boolean isTokenAboutToExpire()
isTokenAboutToExpire in class AccessTokenProviderCopyright © 2008–2022 Apache Software Foundation. All rights reserved.