Skip to main content

Module wasm

Module wasm 

Source
Expand description

WASM bindings for the direct 1Password import.

The import asks the user for a TOTP code mid sign-in, which wasm_bindgen cannot express as the &dyn OnePasswordTwoFactorUi the native API takes. JavaScript passes an object implementing OnePasswordTwoFactorUi instead, and JsOnePasswordTwoFactorUi adapts it back to the trait.

Structsยง

JsOnePasswordTwoFactorUi ๐Ÿ”’
Adapts the JavaScript prompt to OnePasswordTwoFactorUi.
RawJsOnePasswordTwoFactorUi
The JavaScript object implementing the two-factor prompt.