fix(auth): specs for verifying authenticator authentication response
This commit is contained in:
parent
57488bcd16
commit
5455972be2
1 changed files with 6 additions and 6 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue