|
1 | 1 | # Passport-HTTP-OAuth |
2 | 2 |
|
3 | 3 | HTTP OAuth authentication strategy for [Passport](https://github.com/jaredhanson/passport). |
| 4 | + |
| 5 | +#### Examples |
| 6 | + |
| 7 | +The [example](https://github.com/jaredhanson/oauthorize/tree/master/examples/express2) |
| 8 | +included with [OAuthorize](https://github.com/jaredhanson/oauthorize) |
| 9 | +demonstrates how to implement a complete OAuth service provider. |
| 10 | +`ConsumerStrategy` is used to authenticate clients as they request tokens from |
| 11 | +the request token and access token endpoints. `TokenStrategy` is used to |
| 12 | +authenticate users and clients making requests to API endpoints. |
| 13 | + |
| 14 | +## Tests |
| 15 | + |
| 16 | + $ npm install --dev |
| 17 | + $ make test |
| 18 | + |
| 19 | +[](http://travis-ci.org/jaredhanson/passport-http-oauth) |
| 20 | + |
| 21 | +## Credits |
| 22 | + |
| 23 | + - [Jared Hanson](http://github.com/jaredhanson) |
| 24 | + |
| 25 | +## License |
| 26 | + |
| 27 | +(The MIT License) |
| 28 | + |
| 29 | +Copyright (c) 2012 Jared Hanson |
| 30 | + |
| 31 | +Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 32 | +this software and associated documentation files (the "Software"), to deal in |
| 33 | +the Software without restriction, including without limitation the rights to |
| 34 | +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
| 35 | +the Software, and to permit persons to whom the Software is furnished to do so, |
| 36 | +subject to the following conditions: |
| 37 | + |
| 38 | +The above copyright notice and this permission notice shall be included in all |
| 39 | +copies or substantial portions of the Software. |
| 40 | + |
| 41 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 42 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 43 | +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 44 | +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 45 | +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 46 | +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
0 commit comments