Interface AzureAdRestClientFactory
- All Known Implementing Classes:
DefaultAzureAdRestClientFactory
public interface AzureAdRestClientFactory
Creates an
AzureAdRestClient and all of its dependencies, using the given Azure application data.-
Method Summary
Modifier and TypeMethodDescriptiondefault AzureAdPagingWrappercreate(AzureAdRestClient restClient) create(String clientId, String clientSecret, String tenantId, AzureApiUriResolver endpointDataProvider, long connectionTimeout, long readTimeout)
-
Method Details
-
create
AzureAdRestClient create(String clientId, String clientSecret, String tenantId, AzureApiUriResolver endpointDataProvider, long connectionTimeout, long readTimeout) - Parameters:
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 Microsoft Entra IDreadTimeout- The read timeout to use when communicating with Microsoft Entra ID- Returns:
- an instance of
AzureAdRestClient, configured to use the specified parameters
-
create
- Parameters:
restClient- the REST client which should be wrapped by the paging wrapper- Returns:
- a wrapper class for paging Microsoft Entra ID results
-