Skip to content

Commit aaebb32

Browse files
committed
Update example dependencies
WE2-895 Signed-off-by: Mart Somermaa <[email protected]>
1 parent 506a6ec commit aaebb32

File tree

18 files changed

+731
-11
lines changed

18 files changed

+731
-11
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ return (new AuthTokenValidatorBuilder($log))
4141
->withTrustedCertificateAuthorities(...self::trustedIntermediateCACertificates())
4242
->build();
4343
```
44-
Read more about [LoggerInterface](https://www.php-fig.org/psr/psr-3/) and take a look from examples directory.
44+
Read more about [LoggerInterface](https://www.php-fig.org/psr/psr-3/) and take a look at the usage examples in the `example` directory.
4545

4646
## 2. Configure the challenge nonce store
4747

@@ -211,7 +211,7 @@ try {
211211
}
212212
...
213213
```
214-
See the complete example from the ***examples*** directory.
214+
See the complete example in the `example` directory.
215215

216216

217217
# Table of contents
@@ -367,7 +367,7 @@ $generator = (new ChallengeNonceGeneratorBuilder())
367367

368368
# Example implementation
369369

370-
Take the files from the `examples` folder and change the tokenValidator site origin.
370+
An example implementation is provided in the `example` directory. Please update the site origin in the `tokenValidator()` function before running it.
371371

372372
Execute the following composer commands:
373373

@@ -376,8 +376,7 @@ composer install
376376
composer dump-autoload
377377
```
378378

379-
Please note, that there are no certificate files included in this example. You can find certificates from [here](https://www.skidsolutions.eu/en/repository/certs)
380-
379+
Please note that there are no certificate files included in this example. You can find EstEID certificates from [here](https://www.skidsolutions.eu/en/repository/certs).
381380

382381
# Dependency versioning policy
383382

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,19 @@
22
"name": "demo/webeid-php",
33
"description": "Web eID PHP demo",
44
"license": "MIT",
5-
"type": "library",
65
"authors": [
76
{
87
"name": "Guido Gröön",
98
"role" : "developer"
109
}
1110
],
1211
"require": {
13-
"php": ">=7.4",
14-
"web-eid/web-eid-authtoken-validation-php": "1.1.0",
15-
"altorouter/altorouter": "1.1.0",
16-
"guzzlehttp/psr7": "2.4.5",
12+
"php": ">=8.1",
13+
"web-eid/web-eid-authtoken-validation-php": "1.2.*",
14+
"altorouter/altorouter": "^1.1",
1715
"psr/log": "^3.0"
1816
},
1917
"autoload": {
2018
"classmap": ["src"]
21-
}
19+
}
2220
}

0 commit comments

Comments
 (0)