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

[EC-598] feat: complete implementation of makeCredential

This commit is contained in:
Andreas Coroiu
2023-03-27 13:38:21 +02:00
parent 343df7efdb
commit f31bd3eca9
4 changed files with 295 additions and 10 deletions

View File

@@ -1,5 +1,10 @@
export abstract class Fido2AuthenticatorService {
makeCredential: (params: Fido2AuthenticatorMakeCredentialsParams) => void;
/**
* This method triggers the generation of a new credential in the authenticator
*
* @return {Uint8Array} Attestation object
**/
makeCredential: (params: Fido2AuthenticatorMakeCredentialsParams) => Promise<Uint8Array>;
}
export enum Fido2AlgorithmIdentifier {