public interface AzureAdRestClientFactory
AzureAdRestClient
and all of its dependencies, using the given Azure application data.Modifier and Type | Method and Description |
---|---|
default AzureAdPagingWrapper |
create(AzureAdRestClient restClient) |
AzureAdRestClient |
create(String clientId,
String clientSecret,
String tenantId,
AzureApiUriResolver endpointDataProvider,
long connectionTimeout,
long readTimeout) |
AzureAdRestClient create(String clientId, String clientSecret, String tenantId, AzureApiUriResolver endpointDataProvider, long connectionTimeout, long readTimeout)
clientId
- 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 parametersdefault AzureAdPagingWrapper create(AzureAdRestClient restClient)
restClient
- the REST client which should be wrapped by the paging wrapperCopyright © 2021 Atlassian. All rights reserved.