sendRequest(self::AUTH_INITIALIZE_REQUEST); $response = $this->readRemoteResponse(); if ($response->status() != self::AUTH_RESPONSE_INITIALIZED_OK) { throw new RuntimeException($response->message()); } $this->request(Xoauth2::encodeXoauth2Sasl($user, $password)); } }