silinternational / idp-pw-api-passwordstore-id-broker
This package is abandoned and no longer maintained.
No replacement package was suggested.
Id Broker Password Store component for IdP PW API
3.2.1
2017-12-06 19:47 UTC
Requires
- php: >=7.0.0
- fillup/fake-bower-assets: ^2.0.9
- silinternational/idp-id-broker-php-client: ^2.4.0
- silinternational/idp-pw-api-common: ^1.0
Requires (Dev)
- phake/phake: ^2.3
- phpunit/phpunit: ^5.0
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2020-03-13 20:08:57 UTC
README
This repository is no longer maintained. It has been incorporated into idp-pw-api.
idp-pw-api-passwordstore-id-broker
Id Broker Password Store component for IdP PW API
Configuration
This code is loaded in as a Yii2 Component in the main config file. Here is an example:
'components' => [ 'passwordStore' => [ 'class' => 'Sil\IdpPw\PasswordStore\IdBroker\IdBroker', 'baseUrl' => Env::requireEnv('ID_BROKER_BASE_URI'), 'accessToken' => Env::requireEnv('ID_BROKER_ACCESS_TOKEN'), 'assertValidBrokerIp' => true, 'validIpRanges' => ['10.0.01/16','127.0.0.1/32'], ], ]
A more concise example:
'components' => [ 'passwordStore' => ArrayHelper::merge( ['class' => 'Sil\IdpPw\PasswordStore\IdBroker\IdBroker'], Env::getArrayFromPrefix('ID_BROKER_') ), ]
Composer / GitHub rate limit
If you hit problems of composer unable to pull the necessary dependencies
due to a GitHub rate limit, copy the auth.json.dist
file to auth.json
and
provide a GitHub auth token.