![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/vendor/knox/pesapal/src/OAuth/ |
<?php /** * Created by PhpStorm. * User: mxgel * Date: 11/14/16 * Time: 2:33 AM */ namespace Knox\Pesapal\OAuth; /** * Class OAuthDataStore * * @package Knox\Pesapal\OAuth */ class OAuthDataStore { /** * @param $consumer_key */ function lookup_consumer($consumer_key) { // implement me } /** * @param $consumer * @param $token_type * @param $token */ function lookup_token($consumer, $token_type, $token) { // implement me } /** * @param $consumer * @param $token * @param $nonce * @param $timestamp */ function lookup_nonce($consumer, $token, $nonce, $timestamp) { // implement me } /** * @param $consumer */ function new_request_token($consumer) { // return a new token attached to this consumer } /** * @param $token * @param $consumer */ function new_access_token($token, $consumer) { // return a new access token attached to this consumer // for the user associated with this token if the request token // is authorized // should also invalidate the request token } }