Skip to content

Commit 9d75472

Browse files
authored
Merge pull request #86 from pdsinterop/feature/jti
Add support for a JWT "jti" value to prevent replay attacks
2 parents 3eaba1e + 058189f commit 9d75472

12 files changed

+948
-200
lines changed

build/phpcs.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<exclude-pattern>*/vendor/*|*/build/*</exclude-pattern>
1919

2020
<rule ref="PHPCompatibility"/>
21-
<config name="testVersion" value="7.3-"/>
21+
<config name="testVersion" value="8.0-"/>
2222

2323
<!-- Include the whole PSR-12 standard -->
2424
<rule ref="PSR12">

solid/composer.json

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,48 @@
2222
],
2323
"require": {
2424
"php": "^8.0",
25+
"ext-dom": "*",
2526
"ext-json": "*",
27+
"ext-mbstring": "*",
2628
"ext-openssl": "*",
2729
"easyrdf/easyrdf": "^1.1.1",
2830
"laminas/laminas-diactoros": "^2.8",
2931
"lcobucci/jwt": "^4.1",
30-
"pdsinterop/flysystem-nextcloud":"^0.2",
32+
"pdsinterop/flysystem-nextcloud": "^0.2",
3133
"pdsinterop/flysystem-rdf": "^0.5",
32-
"pdsinterop/solid-auth": "^0.7",
34+
"pdsinterop/solid-auth": "v0.10.1",
3335
"pdsinterop/solid-crud": "^0.6",
34-
"psr/log" : "^1.1"
36+
"psr/log": "^1.1"
3537
},
3638
"require-dev": {
39+
"doctrine/dbal": "*",
40+
"nextcloud/server": "*",
3741
"phpunit/phpunit": "^8 || ^9"
38-
}
42+
},
43+
"repositories": [
44+
{
45+
"type": "package",
46+
"package": {
47+
"name": "nextcloud/server",
48+
"version": "24.0.0",
49+
"dist": {
50+
"url": "https://github.com/nextcloud/server/archive/refs/tags/v24.0.0.zip",
51+
"type": "zip"
52+
},
53+
"source": {
54+
"url": "https://github.com/nextcloud/server.git",
55+
"type": "git",
56+
"reference": "master"
57+
},
58+
"autoload": {
59+
"psr-4": {
60+
"": "lib/private/legacy",
61+
"OC\\": "lib/private",
62+
"OC\\Core\\": "core/",
63+
"OCP\\": "lib/public"
64+
}
65+
}
66+
}
67+
}
68+
]
3969
}

0 commit comments

Comments
 (0)