Skip to content

@sourceloop/authentication-service / Exports / GoogleOauth2VerifyProvider

Class: GoogleOauth2VerifyProvider

Implements

  • Provider<VerifyFunction.GoogleAuthFn>

Table of contents

Constructors

Properties

Methods

Constructors

constructor

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

Parameters

Name Type
userRepository UserRepository
userCredsRepository UserCredentialsRepository
signupProvider GoogleSignUpFn
preVerifyProvider GooglePreVerifyFn
postVerifyProvider GooglePostVerifyFn

Defined in

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

Properties

postVerifyProvider

Private Readonly postVerifyProvider: GooglePostVerifyFn

Defined in

services/authentication-service/src/modules/auth/providers/google-oauth2-verify.provider.ts:37


preVerifyProvider

Private Readonly preVerifyProvider: GooglePreVerifyFn

Defined in

services/authentication-service/src/modules/auth/providers/google-oauth2-verify.provider.ts:35


signupProvider

Private Readonly signupProvider: GoogleSignUpFn

Defined in

services/authentication-service/src/modules/auth/providers/google-oauth2-verify.provider.ts:33


userCredsRepository

userCredsRepository: UserCredentialsRepository

Defined in

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


userRepository

userRepository: UserRepository

Defined in

services/authentication-service/src/modules/auth/providers/google-oauth2-verify.provider.ts:29

Methods

value

value(): GoogleAuthFn<IAuthUser>

Returns

GoogleAuthFn<IAuthUser>

Implementation of

Provider.value

Defined in

services/authentication-service/src/modules/auth/providers/google-oauth2-verify.provider.ts:40