2.2.4 • Published 12 days ago

@thefirstspine/auth v2.2.4

Weekly downloads
1
License
ISC
Repository
github
Last release
12 days ago

📦 dependency-auth // @thefirstspine/auth

Javascript & Typescript dependency to help developers to use the auth net service.

More information here: https://github.com/thefirstspine/auth

Install

npm i @thefirstspine/auth@latest

Configuration

As part of TFS Platform, this dependency will use environment variable.

Environement keySummary
AUTH_URLAuth net service URL

Documentation

AuthService

Service to interact with the auth net service.

me

Validates a JWT to the auth platform service.

Synopsis: async me(jwt: string): Promise<number|null>

Params:

  • jwt: string The JWT to send to the auth net service.

getAuthNetServiceUrl

Get the auth net service URL according to the AUTH_URL environment variable

Synopsis: getAuthNetServiceUrl(): string

How to use

Build

npm run build

Lint

npm run lint

Publish on NPM

npm publish

License

TFS Platform is NOT licensed. You are free to download, view, run the repository. You are NOT allowed to redistribute this project for both commercial and non-commercial use. Deal with it.

2.2.4

12 days ago

2.2.3

17 days ago

2.2.1

3 months ago

2.2.2

3 months ago

2.2.0

5 months ago

2.1.3

11 months ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago