Commit Graph

282 Commits

Author SHA1 Message Date
Vadim Kazakov
139843467b add data to UnauthorizedError so that more information can be returned to client 2014-07-16 14:12:18 -06:00
José F. Romaniello
870a274be9 update example 2014-06-14 19:01:34 -03:00
José F. Romaniello
e9b8ea4302 fix readme 2014-06-12 13:23:19 -03:00
José F. Romaniello
7ea32e52cc Merge pull request #9 from zudio/master
Update README.md
2014-06-09 10:54:23 -03:00
José F. Romaniello
f856e7791d 2.3.1 2014-06-09 10:53:35 -03:00
José F. Romaniello
fe39d2c849 Merge pull request #12 from otothea/master
Add fall-forward from req._query to req.query
2014-06-09 10:53:19 -03:00
José F. Romaniello
f072f91120 update readme and fix #11 2014-06-09 10:51:40 -03:00
Oscar
29b3882355 Make it look for both kinds of query
add a check on req.query along with req._query for different versions
2014-06-06 13:09:06 -05:00
Oscar
452cc19a87 req._query is now req.query
Not sure exactly when this happened, but i had to make this change for my versions of node/js
2014-06-06 12:28:11 -05:00
José F. Romaniello
80aa8dc023 2.3.0 2014-06-05 15:46:16 -03:00
José F. Romaniello
670fed992c 2.2.0 2014-06-05 15:45:46 -03:00
José F. Romaniello
3484a429ed fixed all broken tests with socket.io 1.0, close #10 2014-06-05 15:45:41 -03:00
José F. Romaniello
130357ff80 2.1.0 2014-06-03 08:12:11 -03:00
José F. Romaniello
e8380c10b8 add support for socket.io 1.0 2014-06-03 08:12:07 -03:00
Mark Rendle
e6ea64dc33 Update README.md
Added a note about converting base64 secret keys to Node Buffers.
2014-04-30 01:27:43 +01:00
José F. Romaniello
0577d07b47 missing parenthesis closes #7 2014-03-25 09:11:39 -03:00
José F. Romaniello
c526326a1e 2.0.2 2014-03-20 09:35:10 -03:00
kjellski
9a9f7d0ad6 - added newest xtend to prevent deprecation warning from object-keys 2014-03-19 22:14:17 +01:00
José F. Romaniello
9a58d94476 add license, close #2 2014-03-14 20:31:04 -03:00
José F. Romaniello
8e567b90a5 fix #3 2014-02-07 11:11:14 -02:00
José F. Romaniello
b8e64a2c17 2.0.1 2014-01-23 23:02:56 -03:00
José F. Romaniello
54a33c260c change user to decoded_token 2014-01-14 17:44:03 -03:00
José F. Romaniello
e62618837c add example 2014-01-14 11:04:41 -03:00
José F. Romaniello
86f4fd43ab 2.0.0 2014-01-14 08:30:55 -03:00
José F. Romaniello
b292ab75af change the API 2014-01-14 08:30:39 -03:00
José F. Romaniello
b0f4354ecb add noqs method 2014-01-13 18:41:10 -03:00
José F. Romaniello
14a34ae380 initial commit after fork of passport-socketio 2014-01-13 16:00:21 -03:00
José F. Romaniello
aa678b4dd9 move request to devDeps, closes #44 2014-01-13 12:03:23 -03:00
Screeny
a2c4ad3cd6 version push 2013-12-03 15:20:35 +01:00
Screeny
95fb0fba7c emit error on store-error
this could've saved me some work.
next time i'll better check if redis is online.
2013-12-03 15:20:14 +01:00
Screeny
c5303a3d7a fixes #40 2013-11-30 18:28:18 +01:00
José F. Romaniello
4a50d9e397 Merge pull request #39 from rickheere/master
Corrected a minor error in the documentation.
2013-11-26 06:09:17 -08:00
Rick Heere
efa48384c8 Corrected a minor error in the documentation. 2013-11-26 14:57:47 +01:00
José F. Romaniello
2bf410f130 Merge pull request #37 from ceojasonnichols/patch-1
Missing Paren in Example
2013-11-21 03:32:34 -08:00
José F. Romaniello
55cab5da3b 2.2.0 2013-11-21 08:22:35 -03:00
José F. Romaniello
bd0980e3ab Merge pull request #36 from TeamSynergy/cors_workaround
Cors workaround
2013-11-21 03:21:46 -08:00
Jason Nichols
49f35c38d4 Missing Paren in Example
Threw me for a while when the sample code didn't work. :)
2013-11-19 22:18:44 -06:00
Screeny
1a3b3e1cdc step 2, updated readme 2013-11-19 10:52:36 +01:00
Screeny
f31dc4a93e step 1 2013-11-19 10:45:09 +01:00
José F. Romaniello
31b14b78ac 2.1.2 2013-11-18 11:49:25 -03:00
Amir
599a614b4c fixed a security issue 2013-11-18 18:06:52 +03:30
José F. Romaniello
91750bb20a Merge pull request #33 from TeamSynergy/master
Update README.md
2013-11-18 04:26:54 -08:00
Screeny
2d257bfb1e Update README.md 2013-11-15 15:54:47 +01:00
Screeny
b111b3f327 Update README.md 2013-11-15 15:16:16 +01:00
Screeny
f5adaa7956 Merge pull request #1 from TeamSynergy/close_default
Close default
2013-11-15 01:53:00 -08:00
Screeny
df32515631 version push
Original: 1.2.1
master-fork: 2.0.0
default to false: 2.1.0
simplification: 2.1.1
2013-11-15 10:50:26 +01:00
Screeny
3c9f23e31e a little simpler 2013-11-15 10:47:51 +01:00
Screeny
fd4214eac9 close socket.io by default 2013-11-15 10:41:53 +01:00
Screeny
2a3cfdb8ff thanks to @chill117
we can't check undefined for undefined
2013-11-14 21:48:01 +01:00
Screeny
928cd508ff major changes
passport.socketio now lets the user decide whether to accept a
connection or not. to do so, you have tu provide your own 'fail'-method.
this will be called unless the user is successfuly authenticated (still
uses the 'success'-method). The method will be called with four
parameters:
- data: <Object> Handshake Data
- message <String> Error-Message
- critical <Bool> True if the User is and will be unable to use
socket.io because of errors in the authorization-system or somewhere
else. False if the user would still be able to use the system (indicates
that he's just not logged-in)
- accept: <function> plain old accept function.
If there's no fail-method given, passport.socketio allows every
not-critical-failed connection.
Also there is now a 'logged_in' <Bool>-Property inside your User-Key.
2013-11-06 18:19:00 +01:00