Gigya
Gigya SDK main interface. Provides access to the Gigya services.
Parameters
<T>
Generic account scheme. Extended from base GigyaAccount model.
Functions
Link copied to clipboard
open fun addConnection(socialProvider: String, @NonNull params: Map<String, Any>, loginCallback: GigyaLoginCallback<T>)
Add a social connection to existing account.
Link copied to clipboard
Create an new instance of the GigyaWebBridge.
Link copied to clipboard
open fun forgotPassword(@NonNull params: Map<String, Any>, gigyaCallback: GigyaCallback<GigyaApiResponse>)
Send a reset email password to verified email attached to the users loginId.
Link copied to clipboard
Request account info.
open fun getAccount(invalidateCache: Boolean, @NonNull params: Map<String, Any>, @NonNull gigyaCallback: GigyaCallback<T>)
Request account info given parameters map.
open fun getAccount(@NonNull include: Array<String>, @NonNull profileExtraFields: Array<String>, @NonNull gigyaCallback: GigyaCallback<T>)
Request account info given comma separated array of include parameters and comma separated array of profile extra fields.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSchema(@NonNull params: Map<String, Any>, @NonNull gigyaCallback: GigyaCallback<GigyaSchema>)
This method retrieves the schema of the Profile object and the Data object (the site specific custom data object) in Gigya's Accounts Storage.
Link copied to clipboard
Get current session.
Link copied to clipboard
Request reference to used Gigya social provider.
Link copied to clipboard
Request reference to used Social native provide wrapper class.
Link copied to clipboard
Update interruption handling.
Link copied to clipboard
Link copied to clipboard
Return SDK interruptions state.
Link copied to clipboard
open fun isAvailableLoginId(@NonNull loginId: String, @NonNull gigyaCallback: GigyaCallback<Boolean>)
This method checks whether a certain login identifier (username / email) is available.
Link copied to clipboard
Check if we currently have a valid session.
Link copied to clipboard
Login with given parameters.
open fun login(loginId: String, password: String, @NonNull params: Map<String, Any>, gigyaCallback: GigyaLoginCallback<T>)
Login with provided id and password.
open fun login(socialProvider: String, params: Map<String, Any>, gigyaLoginCallback: GigyaLoginCallback<T>)
Login given a specific 3rd party provider.
Link copied to clipboard
Logout of Gigya services.
Link copied to clipboard
open fun notifySocialLogin(@NonNull params: Map<String, Any>, gigyaLoginCallback: GigyaLoginCallback<T>)
Login to with social provider when the provider session is available (obtained via specific provider login process).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeConnection(@NonNull params: Map<String, Any>, gigyaCallback: GigyaCallback<GigyaApiResponse>)
Remove a social connection from an existing account.
Link copied to clipboard
Use this flag when you want to apply FLAG_SECURE to all SDK activities.
Link copied to clipboard
open fun send(api: String, params: Map<String, Any>, gigyaCallback: GigyaCallback<GigyaApiResponse>)
Send request to Gigya servers.
open fun <V> send(api: String, params: Map<String, Any>, requestMethod: Int, clazz: Class<V>, gigyaCallback: GigyaCallback<V>)
Send a generic type request to Gigya servers.
Link copied to clipboard
Set account info
Set account info given update parameters.
Link copied to clipboard
Set Account configuration fields These configuration fields will be used by default for all relevant SDK calls.
Link copied to clipboard
Link copied to clipboard
Enable/Disable clearing cookies from WebView on logout.
Link copied to clipboard
* Manually force the SDK to use default http provider (ignores okHttp).
Link copied to clipboard
Activate SDK error reporting (inactive by default).
Link copied to clipboard
Custom setter for external provider package path.
Link copied to clipboard
Link copied to clipboard
Manually set the current session.
Link copied to clipboard
External setter to allow local storage in all SDK WebView usage.
Link copied to clipboard
open fun showScreenSet(screensSet: String, fullScreen: Boolean, @NonNull params: Map<String, Any>, gigyaPluginCallback: GigyaPluginCallback<T>)
open fun showScreenSet(screensSet: String, obfuscate: Boolean, fullScreen: Boolean, @NonNull params: Map<String, Any>, gigyaPluginCallback: GigyaPluginCallback<T>)
Show Gigya ScreenSets flow using the PluginFragment.
Link copied to clipboard
open fun socialLoginWith(providers: List<String>, @NonNull params: Map<String, Any>, gigyaLoginCallback: GigyaLoginCallback<T>)
Present social login selection list.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Update device information in server.
Link copied to clipboard
Request verify login given account UID/
Link copied to clipboard
Validate session endpoint.
Link copied to clipboard