@sourceloop/authentication-service / Exports / OtpVerifyProvider
Class: OtpVerifyProvider¶
Implements¶
Provider
<VerifyFunction.OtpAuthFn
>
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new OtpVerifyProvider(userRepository
, otpCacheRepo
, logger
, client
, otpService
)
Parameters¶
Name | Type |
---|---|
userRepository |
UserRepository |
otpCacheRepo |
OtpCacheRepository |
logger |
ILogger |
client |
AuthClient <DataObject <Model >> |
otpService |
OtpService |
Defined in¶
services/authentication-service/src/modules/auth/providers/otp-verify.provider.ts:19
Properties¶
client¶
• Private
Readonly
client: AuthClient
<DataObject
<Model
>>
Defined in¶
services/authentication-service/src/modules/auth/providers/otp-verify.provider.ts:26
logger¶
• Private
Readonly
logger: ILogger
Defined in¶
services/authentication-service/src/modules/auth/providers/otp-verify.provider.ts:24
otpCacheRepo¶
• otpCacheRepo: OtpCacheRepository
Defined in¶
services/authentication-service/src/modules/auth/providers/otp-verify.provider.ts:23
otpService¶
• Private
Readonly
otpService: OtpService
Defined in¶
services/authentication-service/src/modules/auth/providers/otp-verify.provider.ts:28
userRepository¶
• userRepository: UserRepository
Defined in¶
services/authentication-service/src/modules/auth/providers/otp-verify.provider.ts:21
Methods¶
value¶
▸ value(): OtpAuthFn
<IAuthUser
>
Returns¶
OtpAuthFn
<IAuthUser
>
Implementation of¶
Provider.value
Defined in¶
services/authentication-service/src/modules/auth/providers/otp-verify.provider.ts:31