2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00
Commit Graph

157 Commits

Author SHA1 Message Date
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
José F. Romaniello
b6e7ee635e add note about cors, closes #28 2013-11-03 21:11:52 -02:00
José F. Romaniello
1ac2b5483a 1.2.1 2013-06-30 16:44:51 -03:00
José F. Romaniello
4b999812f1 fix missing { 2013-06-30 16:44:46 -03:00
José F. Romaniello
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
Richard Assar
efef45309f Allow 0 value for serialized user (id) 2013-06-30 20:06:21 +01:00
José F. Romaniello
c5d4489d68 1.2.0 2013-06-05 08:38:51 -03:00
José F. Romaniello
04ea36fdd3 remove connect and cookie dependency 2013-06-05 08:38:33 -03:00
José F. Romaniello
9fea831500 1.1.0 2013-06-04 15:21:26 -03:00
José F. Romaniello
3f362cc5f5 Merge pull request #17 from ask11/deps
Updated dependencies
2013-06-04 11:19:19 -07:00
Aleksey Kulikov
6cc8438ef6 Fixed devDependencies 2013-04-23 09:34:36 +06:00
Aleksey Kulikov
2622f11726 Updated deps to support latest connect 2013-04-22 23:50:53 +06:00
Jose F. Romaniello
c0e40b99ad bump version 2013-02-15 07:56:55 -03:00
José F. Romaniello
953510bb6d Merge pull request #9 from faceleg/master
Changed default cookie key.
2013-02-15 02:55:48 -08:00
Michael Robinson
012bdbeb8c Update lib/index.js
Change default cookie key.
2013-02-15 23:49:56 +13:00
Jose F. Romaniello
efa397c597 bump version 2013-02-05 19:15:36 -03:00
Jose F. Romaniello
8a4049b123 add missing file 2013-02-05 19:15:17 -03:00
Jose F. Romaniello
66dd460070 fix #6 use same parameters than express.session 2013-02-05 19:15:04 -03:00
Jose F. Romaniello
a1e46b1fbd fix bug calling both success and accept 2013-01-07 11:30:15 -03:00
Jose F. Romaniello
79878b036c refactorize to use xtend 2013-01-07 10:40:52 -03:00
Jose F. Romaniello
2b2e0b93d5 point socket.io-client to my fork with newer xmlhttprequest 2013-01-07 10:39:14 -03:00
Jose F. Romaniello
73102803f3 added missing dev dependency 2012-12-28 18:11:19 -03:00
Jose F. Romaniello
7390e33d45 minor 2012-11-16 12:47:41 -03:00
Jose F. Romaniello
3dc3096b15 add basic integration tests 2012-11-16 12:43:12 -03:00
Kevin Caffrey
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
José F. Romaniello
3675d24adf Merge pull request #2 from bradleyolson/master
Success and Fail Callbacks
2012-10-27 07:03:21 -07:00