PHP Класс Mmanos\Social\Social

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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