1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

[EC-598] feat: add timeout and UV to params

This commit is contained in:
Andreas Coroiu
2023-02-10 15:52:46 +01:00
parent 5f776c7176
commit 158d1fbe01
2 changed files with 6 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ export interface CredentialRegistrationParams {
id: string; // b64 encoded
displayName: string;
};
timeout: number;
}
export interface CredentialRegistrationResult {
@@ -47,6 +48,8 @@ export interface CredentialAssertParams {
rpId: string;
origin: string;
challenge: string;
userVerification?: "discouraged" | "preferred" | "required";
timeout: number;
}
export interface CredentialAssertResult {