1 | <?php |
||
7 | class Token extends Client |
||
8 | { |
||
9 | /** |
||
10 | * Send verification token to the given Authy user. |
||
11 | * |
||
12 | * @param int $authyId |
||
13 | * @param string $method |
||
14 | * @param bool $force |
||
15 | * @param string|null $action |
||
16 | * @param string|null $actionMessage |
||
17 | * |
||
18 | * @return \Rinvex\Authy\Response |
||
19 | */ |
||
20 | public function send($authyId, $method = 'sms', $force = false, $action = null, $actionMessage = null): Response |
||
29 | |||
30 | /** |
||
31 | * Verify the given token for the given Authy user. |
||
32 | * |
||
33 | * @param int $token |
||
34 | * @param int $authyId |
||
35 | * @param bool $force |
||
36 | * @param string|null $action |
||
37 | * |
||
38 | * @return \Rinvex\Authy\Response |
||
39 | */ |
||
40 | public function verify($token, $authyId, $force = false, $action = null): Response |
||
49 | } |
||
50 |