1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

[EC-598] feat: add fido2Key to cipher

This commit is contained in:
Andreas Coroiu
2023-01-03 15:49:32 +01:00
parent 0225093c11
commit cb07b2121e
10 changed files with 158 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
import { Fido2KeyApi } from "../api/fido2-key.api";
export class Fido2KeyData {
key: string;
rpId: string;
origin: string;
userHandle: string;
constructor(data?: Fido2KeyApi) {
if (data == null) {
return;
}
this.key = data.key;
this.rpId = data.rpId;
this.origin = data.origin;
this.userHandle = data.userHandle;
}
}