Download the PHP package silinternational/idp-pw-api-personnel-multiple without Composer
On this page you can find all versions of the php package silinternational/idp-pw-api-personnel-multiple. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download silinternational/idp-pw-api-personnel-multiple
More information about silinternational/idp-pw-api-personnel-multiple
Files in silinternational/idp-pw-api-personnel-multiple
Download silinternational/idp-pw-api-personnel-multiple
More information about silinternational/idp-pw-api-personnel-multiple
Files in silinternational/idp-pw-api-personnel-multiple
Vendor silinternational
Package idp-pw-api-personnel-multiple
Short Description Personnel component for IdP PW API for using multiple backends.
License MIT
Package idp-pw-api-personnel-multiple
Short Description Personnel component for IdP PW API for using multiple backends.
License MIT
Please rate this library. Is it a good library?
Informations about the package idp-pw-api-personnel-multiple
idp-pw-api-personnel-multiple
Personnel backend component for IdP PW API for using multiple backends.
Example Usage
use Sil\IdpPw\Common\Personnel\IdBroker;
use Sil\IdpPw\Common\Personnel\Insite;
use Sil\IdpPw\Common\Personnel\Multiple\Multiple;
// ...
$multiple = new Multiple([
'personnelBackendConfig' => [
[
'class' => IdBroker::class,
'baseUrl' => 'https://broker.url',
'accessToken' => 'abc123',
'assertValidBrokerIp' => true,
'validIpRanges' => ['10.0.20.0/16'],
],
[
'class' => Insite::class,
'insitePeopleSearchBaseUrl' => 'https://search.url',
'insitePeopleSearchApiKey' => 'abc123',
'insitePeopleSearchApiSecret' => 'abc123',
],
],
]);
It Matters Which order you define Personnel Backends
When iterating through personnel backends, each subsequent backend will override the PersonnelUser attributes found from previous backends.
If a user is not found in any one of the backends a NotFoundException is thrown.
If a user is found in multiple backends but the employeeId does not match for them an Exception is thrown.
All versions of idp-pw-api-personnel-multiple with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
fillup/fake-bower-assets Version ^2.0.9
roave/security-advisories Version dev-master
silinternational/idp-pw-api-common Version ^1.0
yiisoft/yii2 Version ~2.0.0
fillup/fake-bower-assets Version ^2.0.9
roave/security-advisories Version dev-master
silinternational/idp-pw-api-common Version ^1.0
yiisoft/yii2 Version ~2.0.0
The package silinternational/idp-pw-api-personnel-multiple contains the following files
Loading the files please wait ....