$config
$config : \Overtrue\Socialite\Config
The configuration.
Class SocialiteManager.
$config : \Overtrue\Socialite\Config
The configuration.
$request : \Symfony\Component\HttpFoundation\Request
The request instance.
$drivers : array<mixed,\Overtrue\Socialite\ProviderInterface>
The array of created "drivers".
__construct(array $config, \Symfony\Component\HttpFoundation\Request|null $request = null)
SocialiteManager constructor.
array | $config | |
\Symfony\Component\HttpFoundation\Request|null | $request |
config(\Overtrue\Socialite\Config $config) : $this
Set config instance.
\Overtrue\Socialite\Config | $config |
driver(string $driver) : \Overtrue\Socialite\ProviderInterface
Get a driver instance.
string | $driver |
setRequest(\Symfony\Component\HttpFoundation\Request $request) : $this
\Symfony\Component\HttpFoundation\Request | $request |
getRequest() : \Symfony\Component\HttpFoundation\Request
getDrivers() : array<mixed,\Overtrue\Socialite\ProviderInterface>
Get all of the created "drivers".
buildProvider(string $provider, array $config) : \Overtrue\Socialite\ProviderInterface
Build an OAuth 2 provider instance.
string | $provider | |
array | $config |
createDriver(string $driver) : \Overtrue\Socialite\ProviderInterface
Create a new driver instance.
string | $driver |
callCustomCreator(string $driver) : \Overtrue\Socialite\ProviderInterface
Call a custom driver creator.
string | $driver |
createDefaultRequest() : \Symfony\Component\HttpFoundation\Request
Create default request instance.