https://github.com/cotag/oauth-interceptor
Configurable AngularJS promise based interceptor for delegating auth
https://github.com/cotag/oauth-interceptor
Last synced: about 1 month ago
JSON representation
Configurable AngularJS promise based interceptor for delegating auth
- Host: GitHub
- URL: https://github.com/cotag/oauth-interceptor
- Owner: cotag
- Created: 2013-09-30T06:54:47.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T05:35:08.000Z (over 8 years ago)
- Last Synced: 2024-03-25T20:36:33.388Z (over 2 years ago)
- Language: JavaScript
- Size: 65.4 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OAuth Communications Interceptor
[](https://travis-ci.org/cotag/oauth-interceptor)
Behind the scenes, attaches tokens to requests that require authentication and if not authenticated triggers the authentication process before retrying / completing the request
## Installation
1. Open bower.json
2. Add `"oauth-interceptor": "~1.0.0"` to your dependency list
3. Run `bower install`
4. In your application you can now add:
* ``
## Usage
Requires a compatible directive for obtaining the OAuth Tokens