ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
DumbStore.php
Go to the documentation of this file.
1 <?php
2 
20 require_once 'Auth/OpenID/Interface.php';
21 require_once 'Auth/OpenID/HMAC.php';
22 
35 
53  function Auth_OpenID_DumbStore($secret_phrase)
54  {
55  $this->auth_key = Auth_OpenID_SHA1($secret_phrase);
56  }
57 
61  function storeAssociation($server_url, $association)
62  {
63  }
64 
68  function getAssociation($server_url, $handle = null)
69  {
70  return null;
71  }
72 
76  function removeAssociation($server_url, $handle)
77  {
78  return false;
79  }
80 
86  function useNonce($server_url, $timestamp, $salt)
87  {
88  return true;
89  }
90 
94  function getAuthKey()
95  {
96  return $this->auth_key;
97  }
98 }
99