Joachim Van Herwegen
f3e7a20800
feat: Update Credentials typings to support client/issuer
2022-10-06 09:36:04 +02:00
Wannes Kerckhove
283c301f08
feat: new helper functions to replace regexes #807
...
Implemented new StringUtil helper functions: splitCommaSeparated, sanitizeUrlPart, isValidFileName.
Added helper functions to HeaderUtil: matchesAuthorizationScheme, hasScheme.
Added unit tests for the new helper functions.
Refactored codebase to use helper functions instead of regexes if applicable.
2022-04-13 11:26:07 +02:00
Ruben Verborgh
9c52011add
fix: Accept lowercase Authorization tokens.
2021-12-03 12:07:00 +01:00
Joachim Van Herwegen
b3da9c9fcf
refactor: Restructure source code folder
...
This way the location of certain classes should make more sense
2021-10-12 12:51:02 +02:00
Joachim Van Herwegen
13c49045d4
feat: Support acl authorization for IDP components
...
Configuration has been updated so the IDP requests
also pass through an Authorization component.
A new config option was added to choose
which authorization scheme to use for the IDP.
2021-10-07 15:51:11 +02:00
Joachim Van Herwegen
ba1886ab85
feat: Combine the results of multiple CredentialsExtractors
2021-09-28 13:06:38 +02:00
Joachim Van Herwegen
c3fa74de78
feat: Let CredentialsExtractors specify what type of Credentials they generate
2021-09-28 13:06:38 +02:00
Matthieu Bosquet
4a5224b3a6
chore: update access token verifier
2021-07-14 08:53:49 +02:00
Joachim Van Herwegen
6cf539c171
feat: Store cause for errors where relevant
2021-07-06 16:42:06 +02:00
Joachim Van Herwegen
5edbbc1958
chore: Update dependencies
2021-06-30 10:24:13 +02:00
Ruben Verborgh
eb1440851a
refactor: Move handlers into subfolder.
2021-01-27 11:29:35 +01:00
Ruben Verborgh
a46cd2bb3e
refactor: Clarify DPoPWebIdExtractor needs the original URL.
...
https://github.com/solid/community-server/issues/492
2021-01-18 09:48:32 +01:00
Ruben Verborgh
542901488f
feat: Export UnsecureConstantCredentialsExtractor.
2021-01-15 20:19:11 +01:00
Joachim Van Herwegen
f17054c647
refactor: Make request related handle calls consistent
2021-01-11 13:05:56 +01:00
Matthieu Bosquet
faa98cd6f4
chore: Update ts-dpop to solid library
2021-01-08 08:52:15 +01:00
Matthieu Bosquet
bdfd7cf902
feat: Bearer token support
2020-12-28 23:49:52 +01:00
Ruben Verborgh
97e7e42fdc
chore(deps): update ts-dpop to v0.3.0
2020-12-27 19:54:41 +01:00
Matthieu Bosquet
6077cc1f4c
chore(deps): Update ts-dpop to v0.2.7.
2020-12-19 18:26:24 +01:00
Ruben Verborgh
209b87a424
feat: Add constant WebID extractor.
...
Closes https://github.com/solid/community-server/issues/397
2020-12-18 10:25:46 +01:00
Ruben Verborgh
74415cf49b
fix: Align webId capitalization.
2020-12-01 23:35:11 +01:00
Ruben Verborgh
b0c50b8a7b
change: Make credential extractors specialized.
2020-11-27 16:54:14 +01:00
Ruben Verborgh
0407a36490
feat: Add DPoPWebIdExtractor.
2020-11-27 16:54:14 +01:00
Ruben Verborgh
1a45b65df7
refactor: Implement empty canHandle on base class. ( #289 )
2020-10-30 17:56:39 +01:00
Joachim Van Herwegen
9657fbafb1
refactor: Update eslint related dependencies
2020-09-17 11:55:49 +02:00
Joachim Van Herwegen
199d657097
refactor: Remove overused "Simple" prefix
2020-09-02 15:42:13 +02:00
Ruben Taelman
48740e5cba
style: improve linting of imports
...
A new plugin is used that offers autofixing capabilities.
2020-08-26 13:20:19 +02:00
Joachim Van Herwegen
dcff424f58
fix: Enable strict TypeScript settings
2020-07-24 13:30:34 +02:00
Joachim Van Herwegen
4ac9e92d06
fix: Remove all instances of return undefined
...
Resolves #26
2020-07-23 08:52:44 +02:00
Joachim Van Herwegen
fe11f4b1ce
fix: add documentation for many classes where it was missing
2020-07-02 10:15:01 +02:00
Joachim Van Herwegen
d983fca8f5
feat: add simple permissions related handlers
2020-06-24 14:08:56 +02:00
Joachim Van Herwegen
4229932a3a
feat: add CompositeAsyncHandler to support multiple handlers
2020-06-05 09:51:48 +02:00
Joachim Van Herwegen
cc8f965495
fix: clean up structure using more AsyncHandlers and more folders
2020-06-05 09:51:48 +02:00
Joachim Van Herwegen
a4f2b3995c
feat: add additional supported interfaces
...
This includes the relevant auth headers and a simplification of several others.
2020-05-25 11:27:23 +02:00