src/Api.php
public function setAuthentication($email, $apiKey)
    {
        $headers = [
            self::HEADER_USER_EMAIL => $email,
            self::HEADER_API_KEY    => $apiKey,
        ];
        
        $this->service->setHeaders($headers, true, true);
        
        return $this;
    }
public function setAuthentication($email, $apiKey)
    {
        $headers = [
            self::HEADER_USER_EMAIL => $email,
            self::HEADER_API_KEY    => $apiKey,
        ];
        
        $this->service->setHeaders($headers, true, true);
        
        return $this;
    }
public function setAuthentication ( $ email , $ apiKey ) { $ headers = [ self :: HEADER_USER_EMAIL => $ email , self :: HEADER_API_KEY => $ apiKey , ] ; $ this -> service -> setHeaders ( $ headers , true , true ) ; return $ this ; }
Reset the authorization information and use the same instance of the API object to use different accounts.

@param string $email
@param string $apiKey

@return $this
Reset the authorization information and use the same instance of the API object to use different accounts .