PHP 클래스 Overtrue\Socialite\SocialiteManager

상속: implements Overtrue\Socialite\FactoryInterface
파일 보기 프로젝트 열기: overtrue/socialite 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config Config The configuration.
$customCreators array The registered custom driver creators.
$drivers array The array of created "drivers".
$initialDrivers array The initial drivers.
$request Symfony\Component\HttpFoundation\Request The request instance.

공개 메소드들

메소드 설명
__call ( string $method, array $parameters ) : mixed Dynamically call the default driver instance.
__construct ( array $config, Request $request = null ) SocialiteManager constructor.
buildProvider ( string $provider, array $config ) : Overtrue\Socialite\AbstractProvider Build an OAuth 2 provider instance.
config ( Config $config ) Set config instance.
driver ( string $driver = null ) : mixed Get a driver instance.
extend ( string $driver, Closure $callback ) Register a custom driver creator Closure.
formatConfig ( array $config ) : array Format the server configuration.
getDefaultDriver ( ) : string Get the default driver name.
getDrivers ( ) : array Get all of the created "drivers".
with ( string $driver ) : mixed Get a driver instance.

보호된 메소드들

메소드 설명
callCustomCreator ( string $driver ) : mixed Call a custom driver creator.
createDefaultRequest ( ) : Request Create default request instance.
createDriver ( string $driver ) : mixed Create a new driver instance.

메소드 상세

__call() 공개 메소드

Dynamically call the default driver instance.
public __call ( string $method, array $parameters ) : mixed
$method string
$parameters array
리턴 mixed

__construct() 공개 메소드

SocialiteManager constructor.
public __construct ( array $config, Request $request = null )
$config array
$request Symfony\Component\HttpFoundation\Request

buildProvider() 공개 메소드

Build an OAuth 2 provider instance.
public buildProvider ( string $provider, array $config ) : Overtrue\Socialite\AbstractProvider
$provider string
$config array
리턴 Overtrue\Socialite\AbstractProvider

callCustomCreator() 보호된 메소드

Call a custom driver creator.
protected callCustomCreator ( string $driver ) : mixed
$driver string
리턴 mixed

config() 공개 메소드

Set config instance.
public config ( Config $config )
$config Config

createDefaultRequest() 보호된 메소드

Create default request instance.
protected createDefaultRequest ( ) : Request
리턴 Symfony\Component\HttpFoundation\Request

createDriver() 보호된 메소드

Create a new driver instance.
protected createDriver ( string $driver ) : mixed
$driver string
리턴 mixed

driver() 공개 메소드

Get a driver instance.
public driver ( string $driver = null ) : mixed
$driver string
리턴 mixed

extend() 공개 메소드

Register a custom driver creator Closure.
public extend ( string $driver, Closure $callback )
$driver string
$callback Closure

formatConfig() 공개 메소드

Format the server configuration.
public formatConfig ( array $config ) : array
$config array
리턴 array

getDefaultDriver() 공개 메소드

Get the default driver name.
public getDefaultDriver ( ) : string
리턴 string

getDrivers() 공개 메소드

Get all of the created "drivers".
public getDrivers ( ) : array
리턴 array

with() 공개 메소드

Get a driver instance.
public with ( string $driver ) : mixed
$driver string
리턴 mixed

프로퍼티 상세

$config 보호되어 있는 프로퍼티

The configuration.
protected Config,Overtrue\Socialite $config
리턴 Config

$customCreators 보호되어 있는 프로퍼티

The registered custom driver creators.
protected array $customCreators
리턴 array

$drivers 보호되어 있는 프로퍼티

The array of created "drivers".
protected array $drivers
리턴 array

$initialDrivers 보호되어 있는 프로퍼티

The initial drivers.
protected array $initialDrivers
리턴 array

$request 보호되어 있는 프로퍼티

The request instance.
protected Request,Symfony\Component\HttpFoundation $request
리턴 Symfony\Component\HttpFoundation\Request