Skip to content

@sourceloop/authentication-service / Exports / GoogleAuthenticatorVerifyProvider

Class: GoogleAuthenticatorVerifyProvider

Implements

  • Provider<VerifyFunction.OtpAuthFn>

Table of contents

Constructors

Properties

Methods

Constructors

constructor

• new GoogleAuthenticatorVerifyProvider(userRepository, userCredsRepository, otpCacheRepo, logger)

Parameters

Name Type
userRepository UserRepository
userCredsRepository UserCredentialsRepository
otpCacheRepo OtpCacheRepository
logger ILogger

Defined in

services/authentication-service/src/modules/auth/providers/google-authenticator-verify.provider.ts:21

Properties

logger

• Private Readonly logger: ILogger

Defined in

services/authentication-service/src/modules/auth/providers/google-authenticator-verify.provider.ts:28


otpCacheRepo

• otpCacheRepo: OtpCacheRepository

Defined in

services/authentication-service/src/modules/auth/providers/google-authenticator-verify.provider.ts:27


userCredsRepository

• userCredsRepository: UserCredentialsRepository

Defined in

services/authentication-service/src/modules/auth/providers/google-authenticator-verify.provider.ts:25


userRepository

• userRepository: UserRepository

Defined in

services/authentication-service/src/modules/auth/providers/google-authenticator-verify.provider.ts:23

Methods

value

▸ value(): OtpAuthFn<IAuthUser>

Returns

OtpAuthFn<IAuthUser>

Implementation of

Provider.value

Defined in

services/authentication-service/src/modules/auth/providers/google-authenticator-verify.provider.ts:31