OAuth2\Service::__construct PHP Method

__construct() public method

public __construct ( Client $client, Configuration $configuration, oauth2\DataStore $dataStore, string $scope = null )
$client Client
$configuration OAuth2\Service\Configuration
$dataStore oauth2\DataStore
$scope string optional
    public function __construct(Client $client, Service\Configuration $configuration, DataStore $dataStore, $scope = null)
    {
        $this->_client = $client;
        $this->_configuration = $configuration;
        $this->_dataStore = $dataStore;
        $this->_scope = $scope;
    }