| 1 | <?php |
||
| 8 | class TwoFactorAuthenticationServiceProvider extends ServiceProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Perform post-registration booting of services. |
||
| 12 | * Loading Routes, Views and Migrations. |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | public function boot() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Get User moded defined in config file. |
||
| 40 | * |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public static function determineTwoFAModel(): string |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Get User Model Instance. |
||
| 50 | * |
||
| 51 | * @return \Illuminate\Database\Eloquent\Model |
||
| 52 | */ |
||
| 53 | public static function getTwoFAModelInstance(): Model |
||
| 59 | } |
||
| 60 |