use of com.microsoft.identity.common.adal.internal.AuthenticationConstants.BrokerContentProvider.API in project microsoft-authentication-library-common-for-android by AzureAD.
the class BrokerOperationBundle method getContentProviderPath.
public String getContentProviderPath() throws BrokerCommunicationException {
final String methodName = ":getContentProviderUriPath";
final API contentApi = operation.getContentApi();
if (contentApi == null) {
final String errorMessage = "Operation " + operation.name() + " is not supported by ContentProvider.";
Logger.warn(TAG + methodName, errorMessage);
throw new BrokerCommunicationException(OPERATION_NOT_SUPPORTED_ON_CLIENT_SIDE, CONTENT_PROVIDER, errorMessage, null);
}
return contentApi.getPath();
}
Aggregations