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