| Total Complexity | 5 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class BootstrapMFAProvider |
||
| 12 | { |
||
| 13 | protected $member; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string $token |
||
| 17 | * @return null|BackupCode |
||
| 18 | */ |
||
| 19 | public function fetchToken($token) |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return Member|null |
||
| 33 | */ |
||
| 34 | public function getMember() |
||
| 35 | { |
||
| 36 | return $this->member; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param Member $member |
||
| 41 | */ |
||
| 42 | public function setMember($member) |
||
| 43 | { |
||
| 44 | $this->member = $member; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @throws ValidationException |
||
| 49 | */ |
||
| 50 | public function updateTokens() |
||
| 61 | } |
||
| 62 | // Fail silently |
||
| 63 | } |
||
| 66 |