0.0.16 • Published 8 months ago

techvedika-authentication v0.0.16

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
8 months ago

TechVedika-NodeJS-CommonModules

techvedika-authentication

@techv/logger is a versatile logging package designed to handle various logging needs in your applications. It supports multiple logging targets, including local file systems, AWS CloudWatch, and Google Cloud Logging, making it suitable for a range of deployment environments

Installation

    npm i techvedika-authentication

Setup

Before using the package, ensure that the necessary environment variables are set according to your logging target:

Mention type of the log

BASE_AUTH_TYPE = "AWS"  # or `ONELOGIN`

AWS

COGNITO_USER_POOL_ID: Your AWSCognito user pool ID.
COGNITO_CLIENT_ID: Your AWSCognito client ID.
COGNITO_CLIENT_SECRET: Your AWSCognito client secret key.
COGNITO_REGION: The AWS region where CloudWatch logs are stored.

Usage:

const TechvAuthentication = require('techvedika-authentication');
let techvauth = new TechvAuthentication();
techvauth.userSignUp(data);

Example

techvauth.userSignUp({});

Publish

For contributors, you need to have an npm account. Follow the steps below to publish:

    npm login 
    npm publish
0.0.14

8 months ago

0.0.15

8 months ago

0.0.16

8 months ago

0.0.10

10 months ago

0.0.11

10 months ago

0.0.12

10 months ago

0.0.13

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago