oauth-ng

WebJar for oauth-ng

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

oauth-ng
Last Version

Last Version

0.4.10
Release Date

Release Date

Type

Type

jar
Description

Description

oauth-ng
WebJar for oauth-ng
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/angularjs-oauth/oauth-ng

Download oauth-ng

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/oauth-ng/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>oauth-ng</artifactId>
    <version>0.4.10</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/oauth-ng/
implementation 'org.webjars.npm:oauth-ng:0.4.10'
// https://jarcasting.com/artifacts/org.webjars.npm/oauth-ng/
implementation ("org.webjars.npm:oauth-ng:0.4.10")
'org.webjars.npm:oauth-ng:jar:0.4.10'
<dependency org="org.webjars.npm" name="oauth-ng" rev="0.4.10">
  <artifact name="oauth-ng" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='oauth-ng', version='0.4.10')
)
libraryDependencies += "org.webjars.npm" % "oauth-ng" % "0.4.10"
[org.webjars.npm/oauth-ng "0.4.10"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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.

Links

Authors

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

Contributors

Special thanks to all contributors for submitting patches.

Changelog

See CHANGELOG

TODO

◻️ OAuth 2.0 Authorization code Flow

Copyright

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

org.webjars.npm

AngularJS OAuth

Projects enabling OAuth 2.0 through AngularJS.

Versions

Version
0.4.10
0.4.9