public class DefaultAzureAdRestClientFactory extends Object implements AzureAdRestClientFactory
AzureAdRestClientFactory| Constructor and Description |
|---|
DefaultAzureAdRestClientFactory(MsalAuthenticatorFactory msalAuthenticatorFactory,
IoUtilsWrapper ioUtilsWrapper) |
| Modifier and Type | Method and Description |
|---|---|
AzureAdPagingWrapper |
create(AzureAdRestClient restClient) |
AzureAdRestClient |
create(String clientId,
String clientSecret,
String tenantId,
AzureApiUriResolver endpointDataProvider,
long connectionTimeout,
long readTimeout) |
public DefaultAzureAdRestClientFactory(MsalAuthenticatorFactory msalAuthenticatorFactory, IoUtilsWrapper ioUtilsWrapper)
public AzureAdRestClient create(String clientId, String clientSecret, String tenantId, AzureApiUriResolver endpointDataProvider, long connectionTimeout, long readTimeout)
create in interface AzureAdRestClientFactoryclientId - Client ID of the web application used to communicate with AzureclientSecret - Client secret of the web application used to communicate with AzuretenantId - ID or name of the Azure tenant to useendpointDataProvider - Endpoint data provider appropriate for tenant's regionconnectionTimeout - The connection timeout to use when communicating with Azure ADreadTimeout - The read timeout to use when communicating with Azure ADAzureAdRestClient, configured to use the specified parameterspublic AzureAdPagingWrapper create(AzureAdRestClient restClient)
create in interface AzureAdRestClientFactoryrestClient - the REST client which should be wrapped by the paging wrapperCopyright © 2023 Atlassian. All rights reserved.