1 | <?php |
||
24 | class VerifiedSecondFactorSearchQuery implements HttpQuery |
||
25 | { |
||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $identityId; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | private $secondFactorId; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | private $registrationCode; |
||
40 | |||
41 | /** |
||
42 | * @var string |
||
43 | */ |
||
44 | private $institution; |
||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | private $actorId; |
||
49 | |||
50 | /** |
||
51 | * @param string $identityId |
||
52 | * @return self |
||
53 | */ |
||
54 | public function setIdentityId($identityId) |
||
62 | |||
63 | /** |
||
64 | * @param string $secondFactorId |
||
65 | * @return self |
||
66 | */ |
||
67 | public function setSecondFactorId($secondFactorId) |
||
75 | |||
76 | /** |
||
77 | * @param string $registrationCode |
||
78 | * @return self |
||
79 | */ |
||
80 | public function setRegistrationCode($registrationCode) |
||
88 | |||
89 | /** |
||
90 | * @param string $institution |
||
91 | * @return VerifiedSecondFactorSearchQuery |
||
92 | */ |
||
93 | public function setInstitution($institution) |
||
94 | { |
||
95 | $this->assertNonEmptyString($institution, 'institution'); |
||
96 | |||
97 | $this->institution = $institution; |
||
98 | |||
99 | return $this; |
||
100 | } |
||
101 | |||
102 | /** |
||
103 | * @param string $actorId |
||
104 | * @return VerifiedSecondFactorSearchQuery |
||
105 | */ |
||
106 | public function setActorId($actorId) |
||
114 | |||
115 | private function assertNonEmptyString($value, $name) |
||
125 | |||
126 | public function toHttpQuery() |
||
150 | } |
||
151 |