Method | Description | |
---|---|---|
__construct ( OAuth\ServiceFactory $serviceFactory = null ) | Constructor | |
consumer ( string $service, string $url = null, array $scope = null ) : OAuth\Common\Service\AbstractService | ||
createStorageInstance ( $storageClass ) : OAuth\Common\\Storage | Create storage instance | |
setConfig ( string $service ) | Detect config and set data from it | |
setHttpClient ( string $httpClientName ) : void | Set the http client object |
public __construct ( OAuth\ServiceFactory $serviceFactory = null ) | ||
$serviceFactory | OAuth\ServiceFactory | - (Dependency injection) If not provided, a ServiceFactory instance will be constructed. |
public createStorageInstance ( $storageClass ) : OAuth\Common\\Storage | ||
return | OAuth\Common\\Storage |
public setHttpClient ( string $httpClientName ) : void | ||
$httpClientName | string | |
return | void |