1.3.1 • Published 3 years ago

@mggflow/msvc-auth v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Client side of laravel microservice authentication

About

This package identifies user and inject authentication credentials in requests of MsvcApi package.

Usage

To install:

npm i @mggflow/msvc-auth

Example implementation to MsvcApi:

// initiate MsvcApi with apiSettins = {....}
api[apiSettins.name] = new MsvcApi(apiSettins.api, apiSettins.name)
api[apiSettins.name].post()

api[apiSettins.name].preparingCallbacks.push(MsvcAuth.prepareApi.bind(MsvcAuth))
1.3.1

3 years ago

1.2.0

4 years ago

1.3.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago