Class MsalAuthenticator
java.lang.Object
com.atlassian.crowd.directory.authentication.impl.MsalAuthenticator
- All Implemented Interfaces:
MsGraphApiAuthenticator
-
Constructor Summary
ConstructorsConstructorDescriptionMsalAuthenticator(com.microsoft.aad.msal4j.IConfidentialClientApplication confidentialClientApplication, AzureApiUriResolver apiUriResolver) -
Method Summary
Modifier and TypeMethodDescriptioncom.microsoft.aad.msal4j.IAuthenticationResultAuthenticates to Microsoft Graph
-
Constructor Details
-
MsalAuthenticator
public MsalAuthenticator(com.microsoft.aad.msal4j.IConfidentialClientApplication confidentialClientApplication, AzureApiUriResolver apiUriResolver)
-
-
Method Details
-
getApiToken
Description copied from interface:MsGraphApiAuthenticatorAuthenticates to Microsoft Graph- Specified by:
getApiTokenin interfaceMsGraphApiAuthenticator- Returns:
- result containing the access token and expiry information
- Throws:
OperationFailedException- in case of unexpected failure
-