silinternational / idp-pw-api-passwordstore-id-broker
Id Broker Password Store component for IdP PW API
Installs: 494
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 1
pkg:composer/silinternational/idp-pw-api-passwordstore-id-broker
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.