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
27aaab3161
removed string templating as not supported by node 0.10 - DK/MW
2019-07-24 20:42:23 +02:00
Mathew Woods
7d437b29e6
changed tests to Node 0.10 style - DK/MW
2019-07-24 20:42:23 +02:00
Mathew Woods
ef0983a702
added ability to enforce only header authorization versus query string authorization - DK/MW
2019-07-24 20:35:44 +02:00
Mathew Woods
2d390e66e6
going to be adding new options but want it within the same general authorizer test suite - DK/MW
2019-07-24 19:01:58 +02:00
Mathew Woods
c694bee8f5
dont instantiate the start function with a function as the options - DK/MW
2019-07-24 19:01:58 +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
250312152a
Fixed mocha tests by not using expiresInMinutes
...
Using `expiresInMinutes` leads to errors, as it was deprecated in
`jsonwebtoken` > 5.7.0.
We should use `expiresIn` instead.
2017-04-19 00:33:26 +02: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
José F. Romaniello
b7c88dde73
fix tests on v0.10.40
2015-08-31 11:20:35 -03:00
José F. Romaniello
8d6dd198f0
fix fixtures
2015-08-31 11:08:31 -03:00
José F. Romaniello
09eea1d043
add tests for namespace configuration
2015-08-31 11:04:13 -03:00
José F. Romaniello
54dfbdf987
improve tests
2015-05-29 09:39:49 -03:00
Vadim Kazakov
cae21230ee
test fixes
2014-07-16 19:14:07 -06:00
José F. Romaniello
2897f90d7f
merge
2014-07-16 20:32:42 -03:00
José F. Romaniello
9d5abf9e66
update jsonwebtoken module to fix security issue
2014-07-16 20:29:39 -03:00
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
3484a429ed
fixed all broken tests with socket.io 1.0, close #10
2014-06-05 15:45:41 -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
04ea36fdd3
remove connect and cookie dependency
2013-06-05 08:38:33 -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
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