tgl-otp-module
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Installation

yarn add tgl-otp-module

Usage

Config projectId, private key , clientEmail access firebase console to get config (project settings/service accounts)

// import module nestjs
import { OTPModule } from 'tgl-otp-firebase';
OTPModule.initModule({
      projectId: "XXX",
      privateKey: "XXXXXX",
      clientEmail: "firebase-adminsdk-ngost@XXXX.iam.gserviceaccount.com",
}),

// call service login
this.profileService.login(this.accountRepository, 'userName','password')

Package profile module:

 Verify ID token firebase

Readme

Keywords

none

Package Sidebar

Install

npm i tgl-otp-module

Weekly Downloads

0

Version

1.0.0

License

UNLICENSED

Unpacked Size

165 kB

Total Files

35

Last publish

Collaborators

  • john_vnvn