Search in sources :

Example 1 with OpenIdProviderConfigurationClient

use of com.microsoft.identity.common.internal.providers.oauth2.OpenIdProviderConfigurationClient in project microsoft-authentication-library-common-for-android by AzureAD.

the class AzureActiveDirectoryAudience method loadOpenIdProviderConfigurationMetadata.

private static OpenIdProviderConfiguration loadOpenIdProviderConfigurationMetadata(@NonNull final String requestAuthority) throws ServiceException {
    final String methodName = ":loadOpenIdProviderConfigurationMetadata";
    com.microsoft.identity.common.internal.logging.Logger.info(TAG + methodName, "Loading OpenId Provider Metadata...");
    final OpenIdProviderConfigurationClient client = new OpenIdProviderConfigurationClient(requestAuthority);
    return client.loadOpenIdProviderConfiguration();
}
Also used : OpenIdProviderConfigurationClient(com.microsoft.identity.common.internal.providers.oauth2.OpenIdProviderConfigurationClient)

Aggregations

OpenIdProviderConfigurationClient (com.microsoft.identity.common.internal.providers.oauth2.OpenIdProviderConfigurationClient)1