Download the PHP package itk-dev/azure-ad-delta-sync without Composer
On this page you can find all versions of the php package itk-dev/azure-ad-delta-sync. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download itk-dev/azure-ad-delta-sync
More information about itk-dev/azure-ad-delta-sync
Files in itk-dev/azure-ad-delta-sync
Package azure-ad-delta-sync
Short Description Composer package for Azure AD Delta Sync flow
License MIT
Informations about the package azure-ad-delta-sync
Azure AD Delta Sync
Composer package for the Azure AD Delta Sync flow.
Usage
If you are looking to use this in a Symfony or Drupal project you should use either:
- Symfony: itk-dev/azure-ad-delta-sync-symfony
- Drupal: itk-dev/azure-ad-delta-sync-drupal
Direct installation
To install this package directly run
Flow
To start the flow one needs to call the
Controller
run(HandlerInterface $handler)
command.
Therefore, you must create your own handler that implements
HandlerInterface
.
Example Usage
To start the flow provide a HTTP Client that implements
PSR-18 CLientInterface
,
and the required options seen in the example beneath.
Note that this example uses Guzzle HTTP Client. For a list of PSR-18 implementing libraries click here.
General comments
Note that this package does not do the synchronization of users, instead it provides a list of all users that currently has access to the system in question.
Should the configured system contain no users an exception will be thrown. This is to avoid using systems to be under the impression that every single user should be deleted.
Development Setup
A docker-compose.yml
file with a PHP 8.2 image is included in this project.
To install the dependencies you can run
Unit Testing
We use PHPUnit for unit testing. To run the tests:
The test suite uses Mocks for generation of test doubles.
Coding Standard
PHP files (PHP_CodeSniffer)
Check PHP coding standards
Apply coding standard changes
Markdown files
GitHub Actions
All code checks mentioned above are automatically run by GitHub Actions when a pull request is created.
To run the actions locally, install act and run
Use act -P ubuntu-latest=shivammathur/node:focal pull_request --list
to see
individual workflow jobs that can be run, e.g.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
All versions of azure-ad-delta-sync with dependencies
ext-json Version *
symfony/options-resolver Version ^5.4 || ^6.0
psr/http-client Version ^1.0
nyholm/psr7 Version ^1.4