loopback-component-jwt

1.0.3 • Public • Published

Usage

Install via yarn

yarn add loopback-component-jwt

Configuration

add component in server/component-config.json

"loopback-component-jwt": {
  "userModel": "User",
  "accessTokenModel": "AccessToken"
  "fields": [
    "firstname",
    "lastname"
  ],
  "secretKey": "mysecretkey"
}

Readme

Keywords

none

Package Sidebar

Install

npm i loopback-component-jwt

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

2.67 kB

Total Files

3

Last publish

Collaborators

  • jumplao