2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-06 19:30:11 +02:00
Commit Graph

76 Commits

Author SHA1 Message Date
5f2742be0b
chore: better Prettier config for easier reviews 2023-10-23 23:44:50 +02:00
4ba9a452ea
docs: improve Prerequisites section 2023-08-06 11:45:16 +02:00
Divlo
bf234bd7b8
docs: client side usage, specify build in import 2022-09-09 12:10:12 +02:00
Divlo
ff6a84a8e1
fix: publish updated README 2022-09-09 11:41:42 +02:00
Divlo
1247a9b5f0
chore: remove codecov 2022-05-12 21:24:15 +02:00
Divlo
dbb363747d
feat: usage of ESM modules imports (instead of CommonJS)
BREAKING CHANGE: This package is now pure ESM

BREAKING CHANGE: minimum supported Node.js >= 16.0.0
2022-04-07 10:11:48 +02:00
Divlo
098475d64c
feat: add isUnauthorizedError type guard
fixes #328
2022-02-18 17:20:59 +01:00
Divlo
9eedd5afbd
chore: add semantic-release
close #153
2021-07-23 23:15:52 +02:00
divlo
4b95cd4293 chore: improve config files 2021-03-08 14:33:53 +01:00
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
959652b3d3 docs(readme): key.getPublicKey() with jwks-rsa 2021-01-28 18:53:56 +01:00
divlo
261e8d66e2 feat: add support for jwks-rsa (#1) 2021-01-07 14:30:37 +01:00
divlo
6d0f23ef31 chore: fix package.json syntax error 2021-01-07 05:45:46 +01:00
Jozef Sovcik
84b523f434
feat: improve types by extending socket.io module (#6) 2021-01-04 14:35:59 +01:00
divlo
abc1225189 docs: update code of conduct link 2021-01-02 18:35:26 +01:00
divlo
0e3055a6b5 docs(readme): add npm badge version 2020-12-29 12:28:53 +01:00
divlo
68724248eb docs(readme): fix socketioJWT import to authorize 2020-12-29 12:22:23 +01:00
divlo
35e7ad11ef ci: add Codecov 2020-12-29 04:44:15 +01:00
divlo
67760594aa docs(readme): update usage 2020-12-29 04:30:34 +01:00
divlo
f66fcdc79b docs: delete changelog and blog post in readme 2020-12-27 18:08:49 +01:00
divlo
8d0670604b docs(readme): update badges & transition to Thream 2020-12-27 17:50:47 +01:00
divlo
2e5d281f46 chore: initial commit 2020-12-27 17:25:44 +01:00
Kerollos Magdy
bcf6c0b719
add example for using customDecoded function 2019-10-29 12:39:38 +02:00
Kerollos Magdy
6af672cca2
fix a minor grammar mistake in README.md 2019-10-29 12:23:42 +02:00
Fabian Arndt
8f2b55a7aa Fixed travis
- Tests against Node 4, 8, 10, 12 and newest

Modernized:
- Use arrow functions
- Use string templates in examples and some code
- Use single quote for strings
2019-10-14 01:46:30 +02:00
Fabian Arndt
27c59c3b0f Fixed auth.required
Misc:
- Resolved conflicts
- Added test case, to fail if server grants prohibited admin access
- Simplified test logic
- Prevented usage of "var" (used const / let instead)
- Formatting
- Cleanup
- Typos
2019-10-13 15:52:14 +02:00
Mathew Woods
17da40f720 updated README to include information about Auth Header Requirement - DK/MW 2019-07-24 20:42:20 +02:00
Mathew Woods
bdbea069ad testing lines of code that are not documented...and documenting them - DK/MW 2019-07-24 19:00:29 +02:00
Root-Core
e06fe3d0fc
Update README.md
- Removed text about chrome extension (seems to be irrelevant to this repo)
- Added example for Bearer Token / Authorization Header
- Unified to single quotes
- Added syntax highlighting for bash
- Changed `expiresInMinutes` to `expiresIn` (#117)
- Added hint to run unit tests, before creating a PR
- Split example for socket.io <1 and >=1
2019-07-24 16:40:37 +02:00
Conrad Sopala
4b4c336bb5
Update README.md 2019-07-23 15:22:23 +02:00
allcontributors[bot]
0f639e4d00 docs: update README.md 2019-07-16 09:36:35 +00:00
allcontributors[bot]
91ba2424de docs: update README.md 2019-07-16 09:35:21 +00:00
allcontributors[bot]
88d0cce4d8 docs: update README.md 2019-07-16 09:34:43 +00:00
allcontributors[bot]
cae64d6aba docs: update README.md 2019-07-16 09:34:11 +00:00
Conrad Sopala
5f784a3c59
Update README.md 2019-07-16 11:33:44 +02:00
allcontributors[bot]
c1db159ed6 docs: update README.md 2019-07-16 09:32:17 +00:00
Konrad Sopala
062f5880f2 Unified README structure. 2019-01-15 17:43:44 +01:00
Conrad Sopala
3edd9d5673
Merge pull request #111 from Philhil/Fix-Spelling
fix spelling
2018-12-04 20:33:17 +01:00
Andrés Aguiar
c0e66b62d7 Update README.md 2017-08-31 15:53:25 -03:00
Andrés Aguiar
b504cee60c Update README.md 2017-08-31 14:54:21 -03:00
Philippe
cac4cb06c8 fix spelling 2017-01-04 11:09:02 +01:00
Bruce Hem
674bbb659a Fix authentication flow on client side 2016-08-19 22:01:36 +07:00
José F. Romaniello
5a5cd7c45a Merge pull request #66 from gjsmith66/gjsmith66-patch-1
Update README.md
2016-06-21 14:48:07 +02:00
José F. Romaniello
b78156dc91 Merge pull request #69 from Daedalus11069/daedalus11069-patch-optional-async
Make .disconnect() async call optional
2016-06-21 14:46:19 +02:00
José F. Romaniello
606708fb1b improve license information 2016-01-14 09:19:45 -03:00
Daedalus11069
730a83ed6b doc changes to allow optional async disconnect 2015-12-25 20:17:01 -08:00
gjsmith66
ba0497cb23 Update README.md
Update README.md to fix example on how to handle unauthorized access.
2015-12-17 13:36:51 -05:00
Damian Fortuna
e094d231b2 Add ability to generate secret dynamically
This allow you to pass a function instead of an string in order to
generate secret based on the new connection features.
2015-11-18 18:49:55 -03:00