hwsecurity-fido2 / de.cotech.hw.fido2 / WebViewWebauthnBridge / createInstanceForWebView /
createInstanceForWebView
open fun createInstanceForWebView(activity: AppCompatActivity, webView: WebView): WebViewWebauthnBridge
Create an instance of the bridge from an activity and attach it to a WebView.
open fun createInstanceForWebView(activity: AppCompatActivity, webView: WebView, optionsBuilder: WebauthnDialogOptions.Builder): WebViewWebauthnBridge
Create an instance of the bridge from an activity and attach it to a WebView. Additional options can be set to configure thedialog using WebauthnDialogOptions.Builder.
Note: The options timeout and title will be overwritten by the bridge.
open fun createInstanceForWebView(context: Context, fragmentManager: FragmentManager, webView: WebView): WebViewWebauthnBridge
Create an instance of the bridge from anywhere using a FragmentManager and attach it to a WebView.
open fun createInstanceForWebView(context: Context, fragmentManager: FragmentManager, webView: WebView, optionsBuilder: WebauthnDialogOptions.Builder): WebViewWebauthnBridge
Create an instance of the bridge from anywhere using a FragmentManager and attach it to a WebView. Additional options can be set to configure thedialog using WebauthnDialogOptions.Builder.
Note: The options timeout and title will be overwritten by the bridge.