hwsecurity-fido2 / de.cotech.hw.fido2 / WebViewWebauthnBridge /
WebViewWebauthnBridge
open class WebViewWebauthnBridge
If you are using a WebView for your login flow, you can use this WebViewWebauthnBridge for extending the WebView’s Javascript API with the WebAuthn APIs.
Note: Currently only compatible and tested with Android SDK >= 19 due to evaluateJavascript() calls.
Types
Name | Summary |
---|---|
JsInterface | open class JsInterface |
Functions
Name | Summary |
---|---|
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(context: Context, fragmentManager: FragmentManager, webView: WebView): WebViewWebauthnBridge Create an instance of the bridge from anywhere using a FragmentManager and attach it to a WebView. |
delegateOnPageStarted |
open fun delegateOnPageStarted(view: WebView, url: String, favicon: Bitmap) Call this in your WebViewClient. |
delegateShouldInterceptRequest |
open fun delegateShouldInterceptRequest(view: WebView, request: WebResourceRequest) Call this in your WebViewClient. |
setForceU2f |
@Deprecated()
|