| Conditions | 1 |
| Paths | 1 |
| Total Lines | 31 |
| Code Lines | 24 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | protected function getConfig() |
||
| 13 | { |
||
| 14 | return [ |
||
| 15 | 'name' => 'Authentication', |
||
| 16 | 'marking_store' => [ |
||
| 17 | 'type' => 'multiple_state', |
||
| 18 | 'arguments' => ['state'] |
||
| 19 | ], |
||
| 20 | 'places' => [ |
||
| 21 | 'started', |
||
| 22 | 'wait_for_username', |
||
| 23 | 'wait_for_password', |
||
| 24 | 'wait_for_username_n_password', |
||
| 25 | 'finished' |
||
| 26 | ], |
||
| 27 | 'transitions' => [ |
||
| 28 | 'start' => [ |
||
| 29 | 'from' => 'started', |
||
| 30 | 'to' => ['wait_for_username_n_password', 'wait_for_username'] |
||
| 31 | ], |
||
| 32 | 'enter_username' => [ |
||
| 33 | 'from' => 'wait_for_username', |
||
| 34 | 'to' => 'wait_for_password' |
||
| 35 | ], |
||
| 36 | 'enter_password' => [ |
||
| 37 | 'from' => 'wait_for_password', |
||
| 38 | 'to' => 'finished' |
||
| 39 | ], |
||
| 40 | 'enter_username_n_password' => [ |
||
| 41 | 'from' => 'wait_for_username_n_password', |
||
| 42 | 'to' => 'finished' |
||
| 43 | ], |
||
| 48 |