public class MsalAuthenticator extends Object implements MsGraphApiAuthenticator
Constructor and Description |
---|
MsalAuthenticator(com.microsoft.aad.msal4j.IConfidentialClientApplication confidentialClientApplication,
AzureApiUriResolver apiUriResolver) |
Modifier and Type | Method and Description |
---|---|
com.microsoft.aad.msal4j.IAuthenticationResult |
getApiToken()
Authenticates to Microsoft Graph
|
public MsalAuthenticator(com.microsoft.aad.msal4j.IConfidentialClientApplication confidentialClientApplication, AzureApiUriResolver apiUriResolver)
public com.microsoft.aad.msal4j.IAuthenticationResult getApiToken() throws OperationFailedException
MsGraphApiAuthenticator
getApiToken
in interface MsGraphApiAuthenticator
OperationFailedException
- in case of unexpected failureCopyright © 2021 Atlassian. All rights reserved.