Skip to content

@sourceloop/authentication-service / Exports / CognitoOauth2VerifyProvider

Class: CognitoOauth2VerifyProvider

Implements

  • Provider<VerifyFunction.CognitoAuthFn>

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CognitoOauth2VerifyProvider(userRepository, userCredsRepository, signupProvider, preVerifyProvider, postVerifyProvider)

Parameters

Name Type
userRepository UserRepository
userCredsRepository UserCredentialsRepository
signupProvider CognitoSignUpFn
preVerifyProvider CognitoPreVerifyFn
postVerifyProvider CognitoPostVerifyFn

Defined in

services/authentication-service/src/modules/auth/providers/cognito-oauth2-verify.provider.ts:26

Properties

postVerifyProvider

Private Readonly postVerifyProvider: CognitoPostVerifyFn

Defined in

services/authentication-service/src/modules/auth/providers/cognito-oauth2-verify.provider.ts:36


preVerifyProvider

Private Readonly preVerifyProvider: CognitoPreVerifyFn

Defined in

services/authentication-service/src/modules/auth/providers/cognito-oauth2-verify.provider.ts:34


signupProvider

Private Readonly signupProvider: CognitoSignUpFn

Defined in

services/authentication-service/src/modules/auth/providers/cognito-oauth2-verify.provider.ts:32


userCredsRepository

userCredsRepository: UserCredentialsRepository

Defined in

services/authentication-service/src/modules/auth/providers/cognito-oauth2-verify.provider.ts:30


userRepository

userRepository: UserRepository

Defined in

services/authentication-service/src/modules/auth/providers/cognito-oauth2-verify.provider.ts:28

Methods

value

value(): CognitoAuthFn<IAuthUser>

Returns

CognitoAuthFn<IAuthUser>

Implementation of

Provider.value

Defined in

services/authentication-service/src/modules/auth/providers/cognito-oauth2-verify.provider.ts:39