public class DefaultAzureAdRestClientFactory extends Object implements AzureAdRestClientFactory
AzureAdRestClientFactory| Constructor and Description |
|---|
DefaultAzureAdRestClientFactory(AdalAuthenticationContextFactory authenticationContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
AzureAdPagingWrapper |
create(AzureAdRestClient restClient) |
AzureAdRestClient |
create(String clientId,
String clientSecret,
String tenantId,
AzureApiUriResolver endpointDataProvider) |
protected com.sun.jersey.api.client.Client |
createJerseyClient(String clientId,
String clientSecret,
String tenantId,
AzureApiUriResolver azureApiUriResolver) |
public DefaultAzureAdRestClientFactory(AdalAuthenticationContextFactory authenticationContextFactory)
public AzureAdRestClient create(String clientId, String clientSecret, String tenantId, AzureApiUriResolver endpointDataProvider)
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 regionAzureAdRestClient, configured to use the specified parametersprotected com.sun.jersey.api.client.Client createJerseyClient(String clientId, String clientSecret, String tenantId, AzureApiUriResolver azureApiUriResolver)
public AzureAdPagingWrapper create(AzureAdRestClient restClient)
create in interface AzureAdRestClientFactoryrestClient - the REST client which should be wrapped by the paging wrapperCopyright © 2018 Atlassian. All rights reserved.