fix(auth): verification rpid options

This commit is contained in:
Karol Sójko
2023-02-02 11:31:31 +01:00
parent 1c2fd46401
commit 989e1ce175
5 changed files with 5 additions and 9 deletions
@@ -16,7 +16,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => {
new VerifyAuthenticatorAuthenticationResponse(
authenticatorRepository,
authenticatorChallengeRepository,
['standardnotes.com'],
'standardnotes.com',
['localhost', 'https://app.standardnotes.com'],
true,
)
@@ -10,7 +10,7 @@ export class VerifyAuthenticatorAuthenticationResponse implements UseCaseInterfa
constructor(
private authenticatorRepository: AuthenticatorRepositoryInterface,
private authenticatorChallengeRepository: AuthenticatorChallengeRepositoryInterface,
private relyingPartyId: string[],
private relyingPartyId: string,
private expectedOrigin: string[],
private requireUserVerification: boolean,
) {}