Skip to content

Commit

Permalink
Merge pull request #385 from OpenConext/bugfix/sat-missing-params
Browse files Browse the repository at this point in the history
Bugfix: add missing parameters
  • Loading branch information
phavekes authored Oct 27, 2022
2 parents 469178d + c93a08b commit c17aec2
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 274 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"minimum-stability": "stable",
"require": {
"php": "^7.1",
"php": "^7.2",
"ext-gmp": "*",
"ext-json": "*",
"broadway/broadway": "^2.3",
Expand Down Expand Up @@ -49,7 +49,7 @@
"symfony/validator": "4.4.*",
"twig/extensions": "^1.5",
"twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0"
"twig/twig": "^2.15|^3.0"
},
"require-dev": {
"doctrine/data-fixtures": "~1.1",
Expand Down
258 changes: 9 additions & 249 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public function handleCompliedWithRecoveryCodeRevocationEvent(
$identity->commonName,
$identity->email,
$event->recoveryTokenType,
$event->recoveryTokenId,
true
);
}
Expand All @@ -75,6 +76,7 @@ public function handleRecoveryTokenRevokedEvent(RecoveryTokenRevokedEvent $event
$identity->commonName,
$identity->email,
$event->recoveryTokenType,
$event->recoveryTokenId,
false
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1702,11 +1702,10 @@ public function a_second_factor_cannot_be_vetted_without_physical_prove_of_posse
$registrantSecFacId,
new SecondFactorType('yubikey'),
new YubikeyPublicId('00028278'),
new DocumentNumber('NH9392'),
$registrantCommonName,
$registrantEmail,
new Locale('en_GB'),
VettingType::onPremise()
new OnPremiseVettingType(new DocumentNumber('123456'))
),
]);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public static function load(
$options->useRaLocationsOption,
$options->showRaaContactInformationOption,
$options->verifyEmailOption,
$options->selfVetOption,
$options->numberOfTokensPerIdentityOption,
$locations
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ final class MappedInstitutionConfiguration
* @param UseRaLocationsOption $useRaLocationsOption
* @param ShowRaaContactInformationOption $showRaaContactInformationOption
* @param VerifyEmailOption $verifyEmailOption
* @param SelfVetOption $setVetOption
* @param NumberOfTokensPerIdentityOption $numberOfTokensPerIdentityOption
* @param RaLocation[] $raLocations
*/
Expand All @@ -87,7 +88,7 @@ public function __construct(
$this->useRaLocationsOption = $useRaLocationsOption;
$this->showRaaContactInformationOption = $showRaaContactInformationOption;
$this->verifyEmailOption = $verifyEmailOption;
$this->selfVetOption = $selfVetOption;
$this->selfVetOption = $selfVetOption;
$this->numberOfTokensPerIdentityOption = $numberOfTokensPerIdentityOption;
$this->raLocations = $raLocations;
}
Expand Down
Loading

0 comments on commit c17aec2

Please sign in to comment.