X-Git-Url: https://git.mdrn.pl/piwik-CASLogin.git/blobdiff_plain/4443d60bb1b3c12b04c14f45e1541a64b1e31e6d..9c96c21771c9f389d6e727242faeb0e9e74ae2a4:/Auth.php?ds=inline diff --git a/Auth.php b/Auth.php index c2d9446..799d38a 100644 --- a/Auth.php +++ b/Auth.php @@ -134,11 +134,17 @@ class Auth implements \Piwik\Auth { $this->login = $login; } + public function getLogin() { + return $this->login; + } public function setTokenAuth($token_auth) { $this->token_auth = $token_auth; } + public function getTokenAuthSecret() { + return $this->token_auth; + } /** * This method is used to inject user into Piwik's tables. @@ -197,6 +203,9 @@ class Auth implements \Piwik\Auth ) ); } - + + // Those methods are required by Piwik API. + public function setPassword($password) {} + public function setPasswordHash($passwordHash) {} }