fnp
/
piwik-CASLogin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4443d60
)
Piwik 2.8.0 compatibility: Added missing abstract methods to Auth.
0.7.2
author
Radek Czajka
<radekczajka@nowoczesnapolska.org.pl>
Wed, 15 Oct 2014 12:05:20 +0000
(14:05 +0200)
committer
Radek Czajka
<radekczajka@nowoczesnapolska.org.pl>
Wed, 15 Oct 2014 12:05:20 +0000
(14:05 +0200)
Auth.php
patch
|
blob
|
history
diff --git
a/Auth.php
b/Auth.php
index
c2d9446
..
799d38a
100644
(file)
--- a/
Auth.php
+++ b/
Auth.php
@@
-134,11
+134,17
@@
class Auth implements \Piwik\Auth
{
$this->login = $login;
}
{
$this->login = $login;
}
+ public function getLogin() {
+ return $this->login;
+ }
public function setTokenAuth($token_auth)
{
$this->token_auth = $token_auth;
}
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.
/**
* 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) {}
}
}