@@ -50,6 +50,9 @@ discard block |
||
| 50 | 50 | } |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param string $provider |
|
| 55 | + */ |
|
| 53 | 56 | private function loadProviderConfiguration( |
| 54 | 57 | $provider, |
| 55 | 58 | array $configuration, |
@@ -198,6 +201,9 @@ discard block |
||
| 198 | 201 | $container->setDefinition('gssp.provider.' . $provider . '.metadata.factory', $metadataFactory); |
| 199 | 202 | } |
| 200 | 203 | |
| 204 | + /** |
|
| 205 | + * @param string $provider |
|
| 206 | + */ |
|
| 201 | 207 | private function createRouteConfig($provider, $routeName) |
| 202 | 208 | { |
| 203 | 209 | // In the future, we ought to wrap this in an object. |
@@ -128,6 +128,11 @@ |
||
| 128 | 128 | $vettedSecondFactors->getTotalItems() > 0; |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | + /** |
|
| 132 | + * @param string $identityId |
|
| 133 | + * @param string $state |
|
| 134 | + * @param string $secondFactorId |
|
| 135 | + */ |
|
| 131 | 136 | public function identityHasSecondFactorOfStateWithId($identityId, $state, $secondFactorId) |
| 132 | 137 | { |
| 133 | 138 | switch ($state) { |