1 | <?php |
||
6 | class OtpVerification implements VerificationInterface |
||
7 | { |
||
8 | /** |
||
9 | * @var ConfirmationSubjectInterface |
||
10 | */ |
||
11 | protected $subject; |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $token; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $otp; |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function getVerifyValue() |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function getToken() |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function setToken($token) |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public function getSubject() |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function setSubject(ConfirmationSubjectInterface $subject = null) |
||
62 | |||
63 | /** |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getOtp() |
||
70 | |||
71 | /** |
||
72 | * @param string $otp |
||
73 | */ |
||
74 | public function setOtp($otp) |
||
78 | } |
||
79 |