Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sails-auth

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sails-auth

Passport-based User Authentication system for sails.js applications.

  • 1.0.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
82
increased by32.26%
Maintainers
1
Weekly downloads
 
Created
Source

-auth

NPM version Build status Dependency Status

Passport-based User Authentication system for sails.js applications.

Note: For comprehensive user account control with role-based permissioning, object ownership, and row-level security, see sails-permissions, which uses this project as a dependency.

Install

$ npm install sails-auth --save

Usage

1. configure .sailsrc

{
  "generators": {
    "modules": {
      "auth-api": "sails-auth"
    }
  }
}

2. install sails.js extension

$ sails generate auth-api
config/policies.js
  '*': [ 'basicAuth', 'passport', 'sessionAuth' ],

  AuthController: {
    '*': [ 'passport' ]
  }
Passport Protocols

License

MIT

Keywords

FAQs

Package last updated on 18 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc