Skip to content

Commit c30c0fd

Browse files
committed
Update README.
1 parent 8331e80 commit c30c0fd

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: "node_js"
2+
node_js:
3+
- 0.4
4+
- 0.6

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
11
# Passport-HTTP-OAuth
22

33
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+
[![Build Status](https://secure.travis-ci.org/jaredhanson/passport-http-oauth.png)](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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"main": "./lib/passport-http-oauth",
1919
"dependencies": {
2020
"pkginfo": "0.2.x",
21-
"passport": "~0.1.3"
21+
"passport": "~0.1.11"
2222
},
2323
"devDependencies": {
2424
"vows": "0.6.x"

0 commit comments

Comments
 (0)