Add OTP QR import from TOTP and entry editors (#120)
Dependency security audit / rustsec (push) Successful in 20s
Dependency security audit / rustsec (push) Successful in 20s
This commit is contained in:
1 parent
93a08e9c65
commit
3c3574b449
12 files changed
+448
-23
No files matched your search
@@ -1901,6 +1901,17 @@ impl MobileAuthentication {
|
||||
.map_err(Into::into)
|
||||
}
|
||||
|
||||
pub fn add_entry_editor_otp_image(
|
||||
&self,
|
||||
editor: u64,
|
||||
image: Vec<u8>,
|
||||
) -> Result<MobileEntryEditorPage, MobileAuthenticationFfiError> {
|
||||
self.authentication
|
||||
.add_entry_editor_otp_image(editor, ironstorage::repository::SecretBytes::new(image))
|
||||
.map(|page| (&page).into())
|
||||
.map_err(Into::into)
|
||||
}
|
||||
|
||||
pub fn remove_entry_editor_field(
|
||||
&self,
|
||||
editor: u64,
|
||||
|
||||
Reference in new issue
Block a user