bilaharith commented on a change in pull request #1481: HADOOP-16587: Made auth
endpoints configurable for MSI and refresh token flows
URL: https://github.com/apache/hadoop/pull/1481#discussion_r329675339
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/oauth2/AzureADAuthenticator.java
##########
@@ -141,14 +141,16 @@ public static AzureADToken getTokenFromMsi(String
tenantGuid, String clientId,
/**
* Gets Azure Active Directory token using refresh token.
*
+ * @param authEndpoint the OAuth 2.0 token endpoint associated
+ * with the user's directory (obtain from
+ * Active Directory configuration)
* @param clientId the client ID (GUID) of the client web app obtained from
Azure Active Directory configuration
* @param refreshToken the refresh token
* @return {@link AzureADToken} obtained using the refresh token
* @throws IOException throws IOException if there is a failure in
connecting to Azure AD
*/
- public static AzureADToken getTokenUsingRefreshToken(String clientId,
+ public static AzureADToken getTokenUsingRefreshToken(final String
authEndpoint, String clientId,
Review comment:
Done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]