TYPO3 CMS  TYPO3_6-2
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 
Auth_OpenID_SHA1($text)
Definition: HMAC.php:25
Auth_OpenID_DumbStore($secret_phrase)
Definition: DumbStore.php:53
useNonce($server_url, $timestamp, $salt)
Definition: DumbStore.php:86
storeAssociation($server_url, $association)
Definition: DumbStore.php:61
getAssociation($server_url, $handle=null)
Definition: DumbStore.php:68
removeAssociation($server_url, $handle)
Definition: DumbStore.php:76