JSPM

  • Created
  • Published
  • Downloads 29
  • Score
    100M100P100Q62042F
  • License MIT

Wrapper module for sails-generate-auth generator that includes the required dependencies

Package Exports

  • sails-auth
  • sails-auth/api/controllers/AuthController
  • sails-auth/api/controllers/UserController
  • sails-auth/api/hooks/auth-api/index
  • sails-auth/api/models/Passport
  • sails-auth/api/models/User
  • sails-auth/api/policies/passport
  • sails-auth/api/services/passport
  • sails-auth/api/services/protocols/index
  • sails-auth/api/services/protocols/local
  • sails-auth/api/services/protocols/oauth
  • sails-auth/api/services/protocols/oauth2
  • sails-auth/api/services/protocols/openid
  • sails-auth/config/passport

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

Readme

-auth

NPM version Build status Dependency Status

Install

$ npm install sails-auth --save

Usage

$ sails generate auth-api

Entities

Models

  • Passport

Controllers

  • AuthController

Policies

  • passport

Services

  • passport
  • protocols/local
  • protocols/oauth
  • protocols/oauth2
  • protocols/openid

Config

License

MIT