2.5.4 • Published 4 months ago

@thefirstspine/auth-nest v2.5.4

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

📦 dependency-auth-nest // @thefirstspine/auth-nest

Built on top of https://github.com/thefirstspine/dependency-auth|@thefirstspine/auth. Provides Nest services & guard.

Install

npm i @thefirstspine/auth-nest@latest

Configuration

The configuration is the same as https://github.com/thefirstspine/dependency-auth|@thefirstspine/auth module.

Documentation

AuthService

Nest service to check auth context from 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.

AuthGuard

Guard to filter incoming requests that are intend to be signed with a JWT under the Authorization HTTP header. Pass the validation when the provided JWT is present & valid in the auth net service.

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.5.4

4 months ago

2.5.3

7 months ago

2.5.2

7 months ago

2.5.1

9 months ago

2.5.0

11 months ago

2.4.5

1 year ago

2.3.0

2 years ago

2.2.0

2 years ago

2.4.1

2 years ago

2.4.0

2 years ago

2.4.3

2 years ago

2.4.2

2 years ago

2.4.4

2 years ago

2.1.0

2 years ago

2.0.0

5 years ago

1.0.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago