ILIAS
eassessment Revision 61809
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Interface.php
Go to the documentation of this file.
1
<?php
2
30
class
Auth_OpenID_OpenIDStore
{
44
function
storeAssociation
($server_url, $association)
45
{
46
trigger_error(
"Auth_OpenID_OpenIDStore::storeAssociation "
.
47
"not implemented"
, E_USER_ERROR);
48
}
49
50
/*
51
* Remove expired nonces from the store.
52
*
53
* Discards any nonce from storage that is old enough that its
54
* timestamp would not pass useNonce().
55
*
56
* This method is not called in the normal operation of the
57
* library. It provides a way for store admins to keep their
58
* storage from filling up with expired data.
59
*
60
* @return the number of nonces expired
61
*/
62
function
cleanupNonces
()
63
{
64
trigger_error(
"Auth_OpenID_OpenIDStore::cleanupNonces "
.
65
"not implemented"
, E_USER_ERROR);
66
}
67
68
/*
69
* Remove expired associations from the store.
70
*
71
* This method is not called in the normal operation of the
72
* library. It provides a way for store admins to keep their
73
* storage from filling up with expired data.
74
*
75
* @return the number of associations expired.
76
*/
77
function
cleanupAssociations
()
78
{
79
trigger_error(
"Auth_OpenID_OpenIDStore::cleanupAssociations "
.
80
"not implemented"
, E_USER_ERROR);
81
}
82
83
/*
84
* Shortcut for cleanupNonces(), cleanupAssociations().
85
*
86
* This method is not called in the normal operation of the
87
* library. It provides a way for store admins to keep their
88
* storage from filling up with expired data.
89
*/
90
function
cleanup
()
91
{
92
return
array($this->
cleanupNonces
(),
93
$this->
cleanupAssociations
());
94
}
95
99
function
supportsCleanup
()
100
{
101
return
true
;
102
}
103
134
function
getAssociation
($server_url,
$handle
= null)
135
{
136
trigger_error(
"Auth_OpenID_OpenIDStore::getAssociation "
.
137
"not implemented"
, E_USER_ERROR);
138
}
139
158
function
removeAssociation
($server_url,
$handle
)
159
{
160
trigger_error(
"Auth_OpenID_OpenIDStore::removeAssociation "
.
161
"not implemented"
, E_USER_ERROR);
162
}
163
183
function
useNonce
($server_url,
$timestamp
, $salt)
184
{
185
trigger_error(
"Auth_OpenID_OpenIDStore::useNonce "
.
186
"not implemented"
, E_USER_ERROR);
187
}
188
192
function
reset
()
193
{
194
}
195
196
}
Services
OpenId
lib
Auth
OpenID
Interface.php
Generated on Mon Apr 25 2016 19:01:37 for ILIAS by
1.8.1.2 (using
Doxyfile
)