mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 18:23:31 +00:00
[EC-598] feat: fully working credential creation
This commit is contained in:
@@ -33,7 +33,13 @@ export interface CredentialRegistrationParams {
|
||||
};
|
||||
}
|
||||
|
||||
export interface CredentialRegistrationResult {
|
||||
credentialId: string;
|
||||
clientDataJSON: string;
|
||||
attestationObject: string;
|
||||
}
|
||||
|
||||
export abstract class Fido2Service {
|
||||
createCredential: (params: CredentialRegistrationParams) => Promise<unknown>;
|
||||
createCredential: (params: CredentialRegistrationParams) => Promise<CredentialRegistrationResult>;
|
||||
assertCredential: () => unknown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user