1 | <?php namespace Arcanedev\LaravelAuth\Services; |
||
10 | class SocialAuthenticator |
||
11 | { |
||
12 | /** |
||
13 | * Check if social authentication is enabled. |
||
14 | * |
||
15 | * @return bool |
||
16 | */ |
||
17 | 666 | public static function isEnabled() |
|
21 | |||
22 | /** |
||
23 | * Get the supported drivers. |
||
24 | * |
||
25 | * @return \Illuminate\Support\Collection |
||
26 | */ |
||
27 | 27 | public static function drivers() |
|
31 | |||
32 | /** |
||
33 | * Get the enabled drivers. |
||
34 | * |
||
35 | * @return \Illuminate\Support\Collection |
||
36 | */ |
||
37 | public static function enabledDrivers() |
||
43 | |||
44 | /** |
||
45 | * Check if the given driver is supported. |
||
46 | * |
||
47 | * @param string $driver |
||
48 | * |
||
49 | * @return bool |
||
50 | */ |
||
51 | 9 | public static function isSupported($driver) |
|
55 | } |
||
56 |