Skip to content

@sourceloop/authentication-service / Exports / ResourceOwnerVerifyProvider

Class: ResourceOwnerVerifyProvider

Implements

  • Provider<VerifyFunction.ResourceOwnerPasswordFn>

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ResourceOwnerVerifyProvider(userRepository, utRepository, authClientRepository, otpRepository)

Parameters

Name Type
userRepository UserRepository
utRepository UserTenantRepository
authClientRepository AuthClientRepository
otpRepository OtpRepository

Defined in

services/authentication-service/src/modules/auth/providers/resource-owner-verify.provider.ts:21

Properties

authClientRepository

authClientRepository: AuthClientRepository

Defined in

services/authentication-service/src/modules/auth/providers/resource-owner-verify.provider.ts:27


otpRepository

otpRepository: OtpRepository

Defined in

services/authentication-service/src/modules/auth/providers/resource-owner-verify.provider.ts:29


userRepository

userRepository: UserRepository

Defined in

services/authentication-service/src/modules/auth/providers/resource-owner-verify.provider.ts:23


utRepository

utRepository: UserTenantRepository

Defined in

services/authentication-service/src/modules/auth/providers/resource-owner-verify.provider.ts:25

Methods

value

value(): ResourceOwnerPasswordFn<IAuthClient, IAuthUser>

Returns

ResourceOwnerPasswordFn<IAuthClient, IAuthUser>

Implementation of

Provider.value

Defined in

services/authentication-service/src/modules/auth/providers/resource-owner-verify.provider.ts:32