plesk/id4me-relying-party

0.2.0 2019-03-25 09:43 UTC

This package is not auto-updated.

Last update: 2024-04-03 08:58:07 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:

id4Me library process image (Petri-Netz)

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