Rev 567 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 567 | Rev 569 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | * limitations under the License. |
17 | * limitations under the License. |
18 | */ |
18 | */ |
19 | 19 | ||
20 | if (!defined('INSIDE_OIDPLUS')) die(); |
20 | if (!defined('INSIDE_OIDPLUS')) die(); |
21 | 21 | ||
22 | abstract class OIDplusAuthContentStore { |
22 | abstract class OIDplusAuthContentStore implements OIDplusConfigInterface { |
23 | 23 | ||
24 | protected $content = array(); |
24 | protected $content = array(); |
25 | 25 | ||
26 | // Getter / Setter |
26 | // Getter / Setter |
27 | 27 | ||
28 | protected abstract function getValue($name); |
28 | public abstract function getValue($name, $default = NULL); |
29 | 29 | ||
30 | protected abstract function setValue($name, $value); |
30 | public abstract function setValue($name, $value); |
- | 31 | ||
- | 32 | public abstract function exists($name); |
|
- | 33 | ||
- | 34 | public abstract function delete($name); |
|
31 | 35 | ||
32 | protected abstract function destroySession(); |
36 | protected abstract function destroySession(); |
33 | 37 | ||
34 | // RA authentication functions |
38 | // RA authentication functions |
35 | 39 |