public class SameThreadAdalAuthenticator extends Object implements AdalAuthenticator
AdalAuthenticator
, uses the current thread to retrieve the authentication resultConstructor 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
AdalAuthenticator
getAdalAuthenticationToken
in interface AdalAuthenticator
OperationFailedException
- in case of unexpected failureCopyright © 2021 Atlassian. All rights reserved.