JSPM

  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q51765F
  • License MIT

Rest authentication JWT integration support for the travetto framework

Package Exports

  • @travetto/auth-rest-jwt
  • @travetto/auth-rest-jwt/__index__.ts

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@travetto/auth-rest-jwt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Rest Auth JWT

Rest authentication JWT integration support for the travetto framework

Install: @travetto/auth-rest-jwt

npm install @travetto/auth-rest-jwt

The JWTPrincipalEncoder is exposed as a tool for allowing for converting an authenticated principal into a JWT, and back again. This token does not own a session, but allows for encoding the auth state into JWT constructs.