career-edge-backend-schema-library
v1.0.5
Published
npm install career-edge-backend-auth-library
Downloads
171
Readme
npm install career-edge-backend-auth-library
Setep 1 . In app.module please add bellow line in import method
ValidateTokenModule.register({
AWS_COGNITO_JWK_URL: "",
AWS_API_VERSION: "2016-04-18",
AWS_REGION: "",
AWS_ACCESS_KEY_ID: "",
AWS_SECRET_ACCESS_KEY: "",
DATABASE_CONNECTION_STRING: "",
DATABASE_NAME: "",
}),
Setep 2 . Inject in service
constructor(private readonly TokenService: TokenService) {}