JSPM

  • Created
  • Published
  • Downloads 12525
  • Score
    100M100P100Q132181F
  • License MIT

A LoopBack component for security support.

Package Exports

  • @loopback/security
  • @loopback/security/dist/index.js

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 (@loopback/security) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@loopback/security

Common types/interfaces for LoopBack 4 security including authentication and authorization.

Installation

npm install --save @loopback/security

Overview

  • Subject
    • It's the "who" for security
    • contains a set of Principles, a set of Credentials, and a set of Permissions
  • Principle
    • Represent a user, an application, or a device
  • Credential
    • Security attributes used to authenticate the subject. Such credentials include passwords, Kerberos tickets, and public key certificates.
  • Permission
    • It's the what for security.

Overview

Basic use

Contributions

Tests

run npm test from the root folder.

Contributors

See all contributors.

License

MIT