PHP 클래스 Mmanos\Social\Social

파일 보기 프로젝트 열기: mmanos/laravel-social

보호된 프로퍼티들

프로퍼티 타입 설명
$factory OAuth\ServiceFactory The Service Factory instance.
$storage OAuth\Common\Storage\TokenStorageInterface The Service Storage instance.

공개 메소드들

메소드 설명
__construct ( ) : void Create a new Social instance.
oauthSpec ( string $provider ) : integer Return the OAuth spec used by the given service provider.
service ( string $provider, string $url = null, array $scope = null ) : OAuth\Common\Service\AbstractService Return an instance of the requested service.

메소드 상세

__construct() 공개 메소드

Create a new Social instance.
public __construct ( ) : void
리턴 void

oauthSpec() 공개 메소드

Return the OAuth spec used by the given service provider.
public oauthSpec ( string $provider ) : integer
$provider string
리턴 integer

service() 공개 메소드

Return an instance of the requested service.
public service ( string $provider, string $url = null, array $scope = null ) : OAuth\Common\Service\AbstractService
$provider string
$url string
$scope array
리턴 OAuth\Common\Service\AbstractService

프로퍼티 상세

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

The Service Factory instance.
protected ServiceFactory,OAuth $factory
리턴 OAuth\ServiceFactory

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

The Service Storage instance.
protected TokenStorageInterface,OAuth\Common\Storage $storage
리턴 OAuth\Common\Storage\TokenStorageInterface