Class MsalAuthenticatorFactory
java.lang.Object
com.atlassian.crowd.directory.authentication.impl.MsalAuthenticatorFactory
- All Implemented Interfaces:
MsGraphApiAuthenticatorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(String clientId, String clientSecret, String tenantId, AzureApiUriResolver apiUriResolver) Creates a new MsGraphApiAuthenticator instance
-
Constructor Details
-
MsalAuthenticatorFactory
public MsalAuthenticatorFactory()
-
-
Method Details
-
create
public MsGraphApiAuthenticator create(String clientId, String clientSecret, String tenantId, AzureApiUriResolver apiUriResolver) Description copied from interface:MsGraphApiAuthenticatorFactory
Creates a new MsGraphApiAuthenticator instance- Specified by:
create
in interfaceMsGraphApiAuthenticatorFactory
- Parameters:
clientId
- microsoft azure ad application's (web app) idclientSecret
- microsoft azure ad application's (web app) client keytenantId
- microsoft azure ad tenant's idapiUriResolver
- Endpoint data provider appropriate for given azure ad application's region- Returns:
- a constructed MsGraphApiAuthenticator
-