-
- All Implemented Interfaces:
-
com.gigya.android.sdk.providers.IProviderFactory
public class ProviderFactory implements IProviderFactory
-
-
Field Summary
Fields Modifier and Type Field Description public StringexternalProviderPath
-
Constructor Summary
Constructors Constructor Description ProviderFactory(IoCContainer container, Context context, Config config, IPersistenceService persistenceService)
-
Method Summary
Modifier and Type Method Description ProviderproviderFor(String name, ProviderCallback providerCallback)ProviderusedProviderFor(String name)*No longer in use.External provider wrapper code is not a part of the client application. ProviderWrappergetProviderWrapper(String name)voidlogoutFromUsedSocialProviders()Iterate through relevant social provider wrappers (this applies for external SDK specific providers andnot social login performed via web screen-sets) and attempt to logout of provider. voidsetExternalProvidersPath(String path)booleanisExternalProvider(String provider)-
-
Constructor Detail
-
ProviderFactory
ProviderFactory(IoCContainer container, Context context, Config config, IPersistenceService persistenceService)
-
-
Method Detail
-
providerFor
Provider providerFor(String name, ProviderCallback providerCallback)
-
usedProviderFor
Provider usedProviderFor(String name)
*No longer in use.External provider wrapper code is not a part of the client application.
-
getProviderWrapper
@Nullable() ProviderWrapper getProviderWrapper(String name)
-
logoutFromUsedSocialProviders
void logoutFromUsedSocialProviders()
Iterate through relevant social provider wrappers (this applies for external SDK specific providers andnot social login performed via web screen-sets) and attempt to logout of provider.
-
setExternalProvidersPath
void setExternalProvidersPath(String path)
-
isExternalProvider
boolean isExternalProvider(String provider)
-
-
-
-