mirror of
https://github.com/standardnotes/server
synced 2026-10-17 03:03:10 -04:00
fix(auth): specs for verifying authenticator authentication response
This commit is contained in:
+6
-6
@@ -44,7 +44,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
|
||||
const result = await useCase.execute({
|
||||
userUuid: 'invalid',
|
||||
registrationCredential: {
|
||||
authenticationCredential: {
|
||||
authenticatorAttachment: 'platform',
|
||||
clientExtensionResults: {},
|
||||
id: 'id',
|
||||
@@ -72,7 +72,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
|
||||
const result = await useCase.execute({
|
||||
userUuid: '00000000-0000-0000-0000-000000000000',
|
||||
registrationCredential: {
|
||||
authenticationCredential: {
|
||||
authenticatorAttachment: 'platform',
|
||||
clientExtensionResults: {},
|
||||
id: 'id',
|
||||
@@ -100,7 +100,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
|
||||
const result = await useCase.execute({
|
||||
userUuid: '00000000-0000-0000-0000-000000000000',
|
||||
registrationCredential: {
|
||||
authenticationCredential: {
|
||||
authenticatorAttachment: 'platform',
|
||||
clientExtensionResults: {},
|
||||
id: 'id',
|
||||
@@ -129,7 +129,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
|
||||
const result = await useCase.execute({
|
||||
userUuid: '00000000-0000-0000-0000-000000000000',
|
||||
registrationCredential: {
|
||||
authenticationCredential: {
|
||||
authenticatorAttachment: 'platform',
|
||||
clientExtensionResults: {},
|
||||
id: 'id',
|
||||
@@ -162,7 +162,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
|
||||
const result = await useCase.execute({
|
||||
userUuid: '00000000-0000-0000-0000-000000000000',
|
||||
registrationCredential: {
|
||||
authenticationCredential: {
|
||||
authenticatorAttachment: 'platform',
|
||||
clientExtensionResults: {},
|
||||
id: 'id',
|
||||
@@ -198,7 +198,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
|
||||
|
||||
const result = await useCase.execute({
|
||||
userUuid: '00000000-0000-0000-0000-000000000000',
|
||||
registrationCredential: {
|
||||
authenticationCredential: {
|
||||
authenticatorAttachment: 'platform',
|
||||
clientExtensionResults: {},
|
||||
id: 'id',
|
||||
|
||||
Reference in New Issue
Block a user