GigyaWebBridge

Constructors

Link copied to clipboard
constructor(context: Context, config: Config, sessionService: ISessionService, businessApiService: IBusinessApiService<A>, accountService: IAccountService<A>, sessionVerificationService: ISessionVerificationService, providerFactory: IProviderFactory, webBridgeInterruptionManager: IWebBridgeInterruptionManager)

Types

Link copied to clipboard
enum Feature

Functions

Link copied to clipboard
open fun attachTo(@NonNull webView: WebView, @NonNull pluginCallback: GigyaPluginCallback<A>, @Nullable progressView: View)
Attach a WebView instance to WebBridge.
Link copied to clipboard
open fun detachFrom(@NonNull webView: WebView)
Detach a WebView instance from this web bridge instance.
Link copied to clipboard
open fun getIds(id: String)
Link copied to clipboard
open fun invoke(url: String): Boolean
open fun invoke(action: String, method: String, queryStringParams: String): Boolean
Link copied to clipboard
open fun invokeWebViewCallback(id: String, baseInvocation: String)
Link copied to clipboard
open fun isSessionValid(id: String)
Link copied to clipboard
open fun onPluginEvent(params: Map<String, Any>)
Link copied to clipboard
open fun sendOAuthRequest(callbackId: String, api: String, params: Map<String, Any>)
Link copied to clipboard
open fun sendRequest(callbackId: String, api: String, params: Map<String, Any>, headers: Map<String, String>)
Link copied to clipboard
Link copied to clipboard
open fun withObfuscation(obfuscation: Boolean): IGigyaWebBridge<A>