f5adaa7956
Merge pull request #1 from TeamSynergy/close_default
...
Close default
2013-11-15 01:53:00 -08:00
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
3c9f23e31e
a little simpler
2013-11-15 10:47:51 +01:00
fd4214eac9
close socket.io by default
2013-11-15 10:41:53 +01:00
2a3cfdb8ff
thanks to @chill117
...
we can't check undefined for undefined
2013-11-14 21:48:01 +01:00
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
b6e7ee635e
add note about cors, closes #28
2013-11-03 21:11:52 -02:00
1ac2b5483a
1.2.1
2013-06-30 16:44:51 -03:00
4b999812f1
fix missing {
2013-06-30 16:44:46 -03:00
8ef08d5a07
Merge pull request #24 from richardassar/userKey_zero_val
...
Allow 0 value for serialized user (id)
2013-06-30 12:37:33 -07:00
efef45309f
Allow 0 value for serialized user (id)
2013-06-30 20:06:21 +01:00
c5d4489d68
1.2.0
2013-06-05 08:38:51 -03:00
04ea36fdd3
remove connect and cookie dependency
2013-06-05 08:38:33 -03:00
9fea831500
1.1.0
2013-06-04 15:21:26 -03:00
3f362cc5f5
Merge pull request #17 from ask11/deps
...
Updated dependencies
2013-06-04 11:19:19 -07:00
6cc8438ef6
Fixed devDependencies
2013-04-23 09:34:36 +06:00
2622f11726
Updated deps to support latest connect
2013-04-22 23:50:53 +06:00
c0e40b99ad
bump version
2013-02-15 07:56:55 -03:00
953510bb6d
Merge pull request #9 from faceleg/master
...
Changed default cookie key.
2013-02-15 02:55:48 -08:00
012bdbeb8c
Update lib/index.js
...
Change default cookie key.
2013-02-15 23:49:56 +13:00
efa397c597
bump version
2013-02-05 19:15:36 -03:00
8a4049b123
add missing file
2013-02-05 19:15:17 -03:00
66dd460070
fix #6 use same parameters than express.session
2013-02-05 19:15:04 -03:00
a1e46b1fbd
fix bug calling both success and accept
2013-01-07 11:30:15 -03:00
79878b036c
refactorize to use xtend
2013-01-07 10:40:52 -03:00
2b2e0b93d5
point socket.io-client to my fork with newer xmlhttprequest
2013-01-07 10:39:14 -03:00
73102803f3
added missing dev dependency
2012-12-28 18:11:19 -03:00
7390e33d45
minor
2012-11-16 12:47:41 -03:00
3dc3096b15
add basic integration tests
2012-11-16 12:43:12 -03:00
d8c7c0ed7d
Don't pass error message on failed accepts due to not being logged in, or the client gets 500s when they should get 403s
2012-11-16 03:58:33 -05:00
3675d24adf
Merge pull request #2 from bradleyolson/master
...
Success and Fail Callbacks
2012-10-27 07:03:21 -07:00
4123c38273
updated readme to reflect changes.
2012-10-26 11:19:01 -05:00
f62a93c9d2
added option of success or fail callbacks. Needed to still allow users access to sockets even if they weren't logged in, but needed specific data if they were.
2012-10-26 11:13:28 -05:00
a5cb696579
update version
2012-10-04 14:55:27 -03:00
eca01e0187
Merge pull request #1 from elisee/patch-1
...
Use sessionKey over hard-coded "express.sid"
2012-09-10 17:47:56 -07:00
a9ea73390d
Use sessionKey over hard-coded "express.sid"
...
The sessionKey argument was ignored and "express.sid" was always used
instead.
2012-09-09 20:31:05 +03:00
aab88bba8c
minor
2012-09-05 15:15:53 -03:00
678d4ccd6c
initial
2012-09-05 15:14:36 -03:00