public function login($credentials) { $this->_bucket = $credentials["user"]; $this->_httpLogin = $credentials['httpLogin']; }