@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¶
Properties¶
logger¶
• Private
Readonly
logger: ILogger
Defined in¶
otpCacheRepo¶
• otpCacheRepo: OtpCacheRepository
Defined in¶
userCredsRepository¶
• userCredsRepository: UserCredentialsRepository
Defined in¶
userRepository¶
• userRepository: UserRepository
Defined in¶
Methods¶
value¶
▸ value(): OtpAuthFn
<IAuthUser
>
Returns¶
OtpAuthFn
<IAuthUser
>
Implementation of¶
Provider.value