_code = (int)$code; $this->_identity = $login; $this->_messages = $messages; $this->_token_auth = $token_auth; } /** * Returns the token_auth to authenticate the current user in the API * * @return string */ public function getTokenAuth() { return $this->_token_auth; } }