Package com.alfresco.auth
Class DiscoveryService
-
- All Implemented Interfaces:
public final class DiscoveryServiceClass that facilitates service discovery process.
-
-
Constructor Summary
Constructors Constructor Description DiscoveryService(Context context, AuthConfig authConfig)
-
Method Summary
Modifier and Type Method Description final AuthTypegetAuthType(String endpoint)Determine which AuthType is supported by the endpoint. final BooleanisContentServiceInstalled(String endpoint)Check whether the content service is running on endpoint. final ContentServerDetailsDatagetContentServiceDetails(String endpoint)returns content server details based on endpoint. final UricontentServiceUrl(String endpoint, AuthTypeProvider authType)Return content service url based on endpoint. -
-
Constructor Detail
-
DiscoveryService
DiscoveryService(Context context, AuthConfig authConfig)
-
-
Method Detail
-
getAuthType
final AuthType getAuthType(String endpoint)
-
isContentServiceInstalled
final Boolean isContentServiceInstalled(String endpoint)
Check whether the content service is running on endpoint.
-
getContentServiceDetails
final ContentServerDetailsData getContentServiceDetails(String endpoint)
returns content server details based on endpoint.
-
contentServiceUrl
final Uri contentServiceUrl(String endpoint, AuthTypeProvider authType)
Return content service url based on endpoint.
-
-
-
-