| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | public function start(): bool |
||
| 47 | { |
||
| 48 | $this->storage->setClientDetails('balloon-client-web', null, null, 'password refresh_token password_mfa webauthn webauthn_mfa'); |
||
| 49 | $this->storage->setClientDetails('balloon-client-desktop', null, null, 'password refresh_token password_mfa webauthn webauthn_mfa'); |
||
| 50 | $this->db->creation_challenges->createIndex(['created' => 1], ['expireAfterSeconds' => 60]); |
||
| 51 | $this->db->request_challenges->createIndex(['created' => 1], ['expireAfterSeconds' => 60]); |
||
| 52 | |||
| 53 | return true; |
||
| 54 | } |
||
| 55 | } |
||
| 56 |