mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 18:23:31 +00:00
[EC-598] feat: half-implemented user interfacing
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export abstract class Fido2UserInterfaceService {
|
||||
verifyUser: () => Promise<boolean>;
|
||||
verifyPresence: () => Promise<boolean>;
|
||||
}
|
||||
@@ -34,6 +34,6 @@ export interface CredentialRegistrationParams {
|
||||
}
|
||||
|
||||
export abstract class Fido2Service {
|
||||
createCredential: (params: CredentialRegistrationParams) => unknown;
|
||||
createCredential: (params: CredentialRegistrationParams) => Promise<unknown>;
|
||||
assertCredential: () => unknown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user