public class SameThreadAdalAuthenticator extends Object implements AdalAuthenticator
AdalAuthenticator, uses the current thread to retrieve the authentication result| Constructor and Description |
|---|
SameThreadAdalAuthenticator(AdalAuthenticationContextFactory authenticationContextFactory,
String clientId,
String clientSecret,
String tenantId,
AzureApiUriResolver apiUriResolver) |
| Modifier and Type | Method and Description |
|---|---|
com.microsoft.aad.adal4j.AuthenticationResult |
getAdalAuthenticationToken()
Authenticates to Microsoft Graph
|
public SameThreadAdalAuthenticator(AdalAuthenticationContextFactory authenticationContextFactory, String clientId, String clientSecret, String tenantId, AzureApiUriResolver apiUriResolver)
public com.microsoft.aad.adal4j.AuthenticationResult getAdalAuthenticationToken()
throws OperationFailedException
AdalAuthenticatorgetAdalAuthenticationToken in interface AdalAuthenticatorOperationFailedException - in case of unexpected failureCopyright © 2023 Atlassian. All rights reserved.