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

15 Commits

Author SHA1 Message Date
Sayak Mukhopadhyay
c7f64a6312 feat: add optional onAuthentication option to add user property in socket object (#62) 2021-03-08 14:10:42 +01:00
divlo
a14d4e937b feat: usage of auth option to send credentials
BREAKING CHANGE: extraHeaders with Authorization doesn't work anymore

See: https://socket.io/docs/v3/middlewares/#Sending-credentials
2021-02-22 13:00:53 +01:00
divlo
d01bcc29fa docs: add authorize options 2021-02-18 20:14:56 +01:00
divlo
af7ff4e8d9 test: fix typings in fixture keySecret 2021-01-28 19:12:46 +01:00
divlo
c1a9213a52 fix(types): decodedToken in secret callback
close #21
2021-01-28 18:47:38 +01:00
divlo
261e8d66e2 feat: add support for jwks-rsa (#1) 2021-01-07 14:30:37 +01:00
Jozef Sovcik
84b523f434
feat: improve types by extending socket.io module (#6) 2021-01-04 14:35:59 +01:00
divlo
abbabc588e feat: add algorithms option 2020-12-30 14:50:56 +01:00
divlo
d44bd9e17e test: add authorize 100% coverage 2020-12-29 04:05:39 +01:00
divlo
0e534dd8ee feat: add support for socket.io >= 3.0.0 2020-12-29 03:32:28 +01:00
divlo
e328a83a18 fix: temporary fix ts errors by using any type 2020-12-29 01:55:44 +01:00
divlo
02337add0d test: add authorizer and fixture 2020-12-28 23:51:03 +01:00
divlo
243a598f37 style: run npm run format 2020-12-28 18:13:07 +01:00
divlo
6ea9d6f933 feat: make it work like before with socket.io 2.0
WIP
2020-12-28 18:09:42 +01:00
divlo
748c61ed07 chore: basic structure of files to rewrite in TS 2020-12-28 16:49:31 +01:00