You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

oauth-ng

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oauth-ng

AngularJS Directive for OAuth 2.0

0.4.10
latest
Source
npmnpm
Version published
Weekly downloads
14
75%
Maintainers
1
Weekly downloads
 
Created
Source

AngularJS directive for OAuth 2.0 Build Status

AngularJS directive for the OAuth 2.0 Implicit Flow.

Documentation

oauth-ng

Contributing

Fork the repo on github and send a pull requests with topic branches. Do not forget to provide specs and test cases to your contribution. Please also update gh-pages branch with documentation when applicable.

Setup

  • Fork and clone the repository
  • Run npm install && bower install

OAuth 2.0 supported grant types

We support both OAuth 2.0 Authorization code Flow and the OAuth 2.0 Implicit Flow.

Authorization code flow

See: http://tools.ietf.org/html/rfc6749#section-4.1

To use the Authorization code flow set response-type="code" in the oauth directive.

Implicit flow

See: http://tools.ietf.org/html/rfc6749#section-4.2

To use the Implicit flow set response-type="token" in the oauth directive.

Unit tests (karma)

npm install && bower install

  • Install PhantomJS then run sudo ln -s ~/phantomjs-VERSION/bin/phantomjs /usr/bin/phantomjs
  • grunt karma:unit

Creating your own distribution

  • grunt build

The new distribution files will be created in the dist/ folder.

Coding guidelines

Follow github guidelines.

Feedback

Use the issue tracker for bugs. Mail or Tweet us for any idea that can improve the project.

Authors

Project created and released as open-source thanks to Lelylan.

Contributors

Special thanks to all contributors for submitting patches.

Changelog

See CHANGELOG

TODO

:white_medium_square: OAuth 2.0 Authorization code Flow

Copyright (c) 2014 Lelylan. See LICENSE for details.

FAQs

Package last updated on 25 Apr 2016

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