src/Vimeo/Vimeo.php
public function clientCredentials($scope = 'public')
    {
        if (is_array($scope)) {
            $scope = implode(' ', $scope);
        }

        $token_response = $this->request(self::CLIENT_CREDENTIALS_TOKEN_ENDPOINT, array(
            'grant_type' => 'client_credentials',
            'scope' => $scope
        ), "POST", false);

        return $token_response;
    }
public function clientCredentials($scope = 'public')
    {
        if (is_array($scope)) {
            $scope = implode(' ', $scope);
        }

        $token_response = $this->request(self::CLIENT_CREDENTIALS_TOKEN_ENDPOINT, array(
            'grant_type' => 'client_credentials',
            'scope' => $scope
        ), "POST", false);

        return $token_response;
    }
public function clientCredentials ( $ scope = 'public' ) { if ( is_array ( $ scope ) ) { $ scope = implode ( ' ' , $ scope ) ; } $ token_response = $ this -> request ( self :: CLIENT_CREDENTIALS_TOKEN_ENDPOINT , array ( 'grant_type' => 'client_credentials' , 'scope' => $ scope ) , "POST" , false ) ; return $ token_response ; }
Get client credentials for requests.

@param mixed $scope Scopes to request for this token from the server.
@return array Response from the server with the tokens, we also set it into this object.
Get client credentials for requests .