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 BooleanisOIDCInstalled(String appConfigURL)final ContentServerDetailsDatagetContentServiceDetails(String endpoint)returns content server details based on endpoint. final UricontentServiceUrl(String endpoint)Return content service url based on endpoint. final UrioidcUrl(String 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.
-
isOIDCInstalled
final Boolean isOIDCInstalled(String appConfigURL)
-
getContentServiceDetails
final ContentServerDetailsData getContentServiceDetails(String endpoint)
returns content server details based on endpoint.
-
contentServiceUrl
final Uri contentServiceUrl(String endpoint)
Return content service url based on endpoint.
-
-
-
-