plesk / id4me-relying-party
Library for ID4me
0.2.0
2019-03-25 09:43 UTC
Requires
- php: >=7.1
- ext-json: *
- ext-openssl: *
- fgrosse/phpasn1: ^2.1
- firebase/php-jwt: ^4.0
- guzzlehttp/guzzle: ^6.2
- spomky-labs/base64url: ^2.0
Requires (Dev)
- phpunit/phpunit: ^8.0
This package is not auto-updated.
Last update: 2024-10-30 11:29:55 UTC
README
A PHP library aiming to simplify usage of id4me functionalities.
Functionalities
- Discovery
- Registration
- Authentication
- Validation :
- solely following requirements of ID4Me specifications 4.5.3. ID Token Validation: 1. to 5. and 9.
Architecture
Following technical structure and flow are currently implemented:
To see an example of a client consuming current id4me library run: `
php examples/example.php`
Prerequisites
In order to work on current source code make sure you have following softwares installed:
- docker latest version
- docker-compose latest version
- php >= 7.1
- php composer
How to build
- Build local dependencies with
`
composer install`
How to run unit tests
- run a single test:
<SOURCE_CODE_PATH>/vendor/bin/phpunit tests/<TEST_CLASS>.php
- run all tests:
<SOURCE_CODE_PATH>/vendor/bin/phpunit --configuration phpunit.xml
How to start application
- Just start with
`
docker-compose up`
What are we still working on?
- Logout from identity authority
- get user data from