From 2854426e8609e0f9e3ceac2e27327532bf00a408 Mon Sep 17 00:00:00 2001 From: mattpiwik Date: Mon, 4 Aug 2008 00:11:03 +0000 Subject: oops i totally screwed up my last commit, deleting /modules instead of renaming it... git-svn-id: http://dev.piwik.org/svn/trunk@587 59fd770c-687e-43c8-a1e3-f5a4ff64c105 --- core/Auth.php | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 core/Auth.php (limited to 'core/Auth.php') diff --git a/core/Auth.php b/core/Auth.php new file mode 100644 index 0000000000..b3d99d5d26 --- /dev/null +++ b/core/Auth.php @@ -0,0 +1,52 @@ +_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; + } +} -- cgit v1.2.3