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) |
protected com.sun.jersey.api.client.Client |
createJerseyClient(String clientId,
String clientSecret,
String tenantId) |
public DefaultAzureAdRestClientFactory(AdalAuthenticationContextFactory authenticationContextFactory)
public AzureAdRestClient create(String clientId, String clientSecret, String tenantId)
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 useAzureAdRestClient, configured to use the specified parametersprotected com.sun.jersey.api.client.Client createJerseyClient(String clientId, String clientSecret, String tenantId)
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.