Elzio / angular-authentication

An authentication module for AngularJS

Home Page:http://qloo.github.io/angular-authentication/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

AngularJS Authentication Module

Authentication module for AngularJS.
http://qloo.github.io/angular-authentication
https://github.com/qloo/angular-authentication

Stability

Stability: 3 - Stable

The stability index will reach 4 at 2.0 beta

For more information you can view the Node.js stability index.

TODO for V1.5

  • dot notation for identityKeys

TODO for V2

  • Multiple identity support
  • Roles support

Build

To install all the necessary dependencies for the the example you'll need to run the following commands:

$ npm install -g grunt-cli && npm install && grunt bootstrap

If you have problems with Grunt you may need to uninstall a previously installed version, you may also need to run the grunt-cli installation using sudo.

This will ensure that all of the necessary node and bower modules are installed, documentation is built, and the example has been bootstrapped.

Web Server for the Example Application

You can run the test server with the following command:

$ grunt server

Tests

It is important that you have already run the grunt bootstrap task before testing.

grunt test

Unit

grunt test:unit

End to End

grunt test:e2e

Continuous Integration Unit

grunt cont:unit

Continuous Integration e2e

grunt cont:e2e

More Grunt Tasks

To LINT the JS:

grunt lint

To run unit tests and LINT the JS

grunt check

Build documentation:

grunt doc

Cleanup:

grunt clean

Lint, documentation, bootstrap, and test:

grunt

License

Copyright (c) 2013 Qloo Inc., Michael Diolosa <michael.diolosa@gmail.com>

This library is licensed under the MIT license.

About

An authentication module for AngularJS

http://qloo.github.io/angular-authentication/

License:MIT License