LTI Integration Library  3.1.0
PHP class library for building LTI integrations
OAuth/OAuthDataStore.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ceLTIc\LTI\OAuth;
4 
13 {
14 
15  function lookup_consumer($consumer_key)
16  {
17  // implement me
18  }
19 
20  function lookup_token($consumer, $token_type, $token)
21  {
22  // implement me
23  }
24 
25  function lookup_nonce($consumer, $token, $nonce, $timestamp)
26  {
27  // implement me
28  }
29 
30  function new_request_token($consumer, $callback = null)
31  {
32  // return a new token attached to this consumer
33  }
34 
35  function new_access_token($token, $consumer, $verifier = null)
36  {
37  // return a new access token attached to this consumer
38  // for the user associated with this token if the request token
39  // is authorized
40  // should also invalidate the request token
41  }
42 
43 }
lookup_token($consumer, $token_type, $token)
new_request_token($consumer, $callback=null)
new_access_token($token, $consumer, $verifier=null)
Class to represent an OAuth Data Store.
lookup_nonce($consumer, $token, $nonce, $timestamp)