| 1 | <?php namespace Arcanedev\LaravelAuth\Services; |
||
| 9 | class SocialAuthenticator |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Check if social authentication is enabled. |
||
| 13 | * |
||
| 14 | * @return bool |
||
| 15 | */ |
||
| 16 | 657 | public static function isEnabled() |
|
| 20 | |||
| 21 | /** |
||
| 22 | * Get the supported drivers. |
||
| 23 | * |
||
| 24 | * @return array |
||
| 25 | */ |
||
| 26 | 18 | public static function drivers() |
|
| 32 | |||
| 33 | /** |
||
| 34 | * Check if the given driver is supported. |
||
| 35 | * |
||
| 36 | * @param string $driver |
||
| 37 | * |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | 9 | public static function isSupported($driver) |
|
| 44 | } |
||
| 45 |