@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * @param string $identityProviderName |
39 | 39 | * @param AttributeListDto $localAttributes |
40 | - * @param AttributeListDto $externalAttributes |
|
40 | + * @param AttributeListDto $remoteAttributes |
|
41 | 41 | * @return AttributeMatchCollection |
42 | 42 | * @throws InvalidRemoteVettingMappingException |
43 | 43 | */ |
@@ -42,8 +42,6 @@ discard block |
||
42 | 42 | private $slug; |
43 | 43 | |
44 | 44 | /** |
45 | - * @param string $identityId |
|
46 | - * @param string $secondFactorId |
|
47 | 45 | * @return RemoteVettingIdenityProviderDto |
48 | 46 | */ |
49 | 47 | public static function create(array $configData) |
@@ -74,7 +72,7 @@ discard block |
||
74 | 72 | } |
75 | 73 | |
76 | 74 | /** |
77 | - * @return string[] |
|
75 | + * @return string |
|
78 | 76 | */ |
79 | 77 | public function getDescription($lang) |
80 | 78 | { |
@@ -59,6 +59,8 @@ discard block |
||
59 | 59 | * @param string $nameId |
60 | 60 | * @param string $applicationVersion |
61 | 61 | * @param string $remarks |
62 | + * @param string $institution |
|
63 | + * @param string $remoteVettingSource |
|
62 | 64 | */ |
63 | 65 | public function __construct( |
64 | 66 | AttributeCollectionInterface $attributeCollectionAggregate, |
@@ -82,6 +84,9 @@ discard block |
||
82 | 84 | $this->remoteVettingSource = $remoteVettingSource; |
83 | 85 | } |
84 | 86 | |
87 | + /** |
|
88 | + * @return string |
|
89 | + */ |
|
85 | 90 | public function serialize() |
86 | 91 | { |
87 | 92 | return json_encode( |
@@ -43,6 +43,9 @@ |
||
43 | 43 | file_put_contents($fileName, json_encode($data)); |
44 | 44 | } |
45 | 45 | |
46 | + /** |
|
47 | + * @return string |
|
48 | + */ |
|
46 | 49 | private function createFileName($location) |
47 | 50 | { |
48 | 51 | $fileName = uniqid('identity_', true); |