tgl-otp-module
v1.0.0
Published
```sh yarn add tgl-otp-module ``` # Usage Config projectId, private key , clientEmail access firebase console to get config (project settings/service accounts) ```typescript
Downloads
2
Readme
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: "[email protected]",
}),
// call service login
this.profileService.login(this.accountRepository, 'userName','password')
Package profile module:
Verify ID token firebase