| 1 | <?php |
||
| 10 | class AuthManager extends Manager |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Create a new driver instance. |
||
| 14 | * |
||
| 15 | * @param string $driver |
||
| 16 | * |
||
| 17 | * @return mixed |
||
| 18 | */ |
||
| 19 | protected function createDriver($driver) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Create an instance of the Elegant driver. |
||
| 32 | * |
||
| 33 | * @return \Magister\Services\Auth\Guard |
||
| 34 | */ |
||
| 35 | public function createElegantDriver() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Create an instance of the Elegant user provider. |
||
| 44 | * |
||
| 45 | * @return \Magister\Services\Database\Elegant\Model |
||
| 46 | */ |
||
| 47 | protected function createElegantProvider() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Set the default authentication driver name. |
||
| 56 | * |
||
| 57 | * @param string $name |
||
| 58 | * |
||
| 59 | * @return void |
||
| 60 | */ |
||
| 61 | public function setDefaultDriver($name) |
||
| 65 | |||
| 66 | /** |
||
| 67 | * Get the default authentication driver name. |
||
| 68 | * |
||
| 69 | * @return string |
||
| 70 | */ |
||
| 71 | public function getDefaultDriver() |
||
| 75 | } |
||
| 76 |