id4me / id4me-rp
Library for ID4me
1.3.0
2020-09-24 07:04 UTC
Requires
- php: >=7.0
- ext-json: *
- ext-openssl: *
- phpseclib/phpseclib: ^2.0
Requires (Dev)
- ext-readline: *
- guzzlehttp/guzzle: ^6.2
- guzzlehttp/psr7: 1.5.*
- phpunit/phpunit: ^6.0
- squizlabs/php_codesniffer: ^3.4
This package is auto-updated.
Last update: 2024-11-24 15:46:43 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.0
- 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