Skip to content

Commit c7e93b2

Browse files
committed
fix: add missing socialite facade
1 parent 2d5da78 commit c7e93b2

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Hypervel\Socialite\Facades;
6+
7+
use Hypervel\Socialite\Contracts\Factory;
8+
use Hypervel\Support\Facades\Facade;
9+
10+
/**
11+
* @method static mixed with(string $driver)
12+
* @method static mixed buildProvider(string $provider, array|null $config)
13+
* @method static array formatConfig(array $config)
14+
* @method static \Hypervel\Socialite\SocialiteManager forgetDrivers()
15+
* @method static string getDefaultDriver()
16+
* @method static mixed driver(string|null $driver = null)
17+
* @method static \Hypervel\Socialite\SocialiteManager extend(string $driver, \Closure $callback)
18+
* @method static array getDrivers()
19+
* @method static \Psr\Container\ContainerInterface getContainer()
20+
* @method static \Hypervel\Socialite\SocialiteManager setContainer(\Psr\Container\ContainerInterface $container)
21+
* @method static \Psr\Http\Message\ResponseInterface redirect()
22+
* @method static \Hypervel\Socialite\Two\User user()
23+
* @method static \Hypervel\Socialite\Two\User userFromToken(string $token)
24+
* @method static mixed getAccessTokenResponse(string $code)
25+
* @method static \Hypervel\Socialite\Two\Token refreshToken(string $refreshToken)
26+
* @method static \Hypervel\Socialite\Two\AbstractProvider scopes(array|string $scopes)
27+
* @method static \Hypervel\Socialite\Two\AbstractProvider setScopes(array|string $scopes)
28+
* @method static array getScopes()
29+
* @method static \Hypervel\Socialite\Two\AbstractProvider redirectUrl(string $url)
30+
* @method static \Hypervel\Socialite\Two\AbstractProvider setRequest(\Hypervel\Http\Contracts\RequestContract $request)
31+
* @method static \Hypervel\Socialite\Two\AbstractProvider stateless()
32+
* @method static \Hypervel\Socialite\Two\AbstractProvider enablePKCE()
33+
* @method static mixed getContext(string $key, mixed $default = null)
34+
* @method static mixed setContext(string $key, mixed $value)
35+
* @method static mixed getOrSetContext(string $key, mixed $value)
36+
*
37+
* @see \Hypervel\Socialite\SocialiteManager
38+
* @see \Hypervel\Socialite\Two\AbstractProvider
39+
*/
40+
class Socialite extends Facade
41+
{
42+
protected static function getFacadeAccessor()
43+
{
44+
return Factory::class;
45+
}
46+
}

0 commit comments

Comments
 (0)