X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Faccesstoken.php;fp=actions%2Faccesstoken.php;h=76bd40473a954729f43fd2f53bbc852292b35446;hb=5d09b6b3f0595540c66b703ae085f0af904fe30f;hp=c99aaeded32ab74b544d1a532ec9630c0a784b3d;hpb=82b0927f5838f3c12816e03712df9460a9f77b72;p=quix0rs-gnu-social.git diff --git a/actions/accesstoken.php b/actions/accesstoken.php index c99aaeded3..76bd40473a 100644 --- a/actions/accesstoken.php +++ b/actions/accesstoken.php @@ -1,6 +1,6 @@ fetch_access_token($req); - common_debug('got this token: "'.print_r($token, true).'"', __FILE__); - common_debug('printing the access token', __FILE__); - print $token; - } catch (OAuthException $e) { + $srv = new OMB_Service_Provider(null, omb_oauth_datastore(), + omb_oauth_server()); + $srv->writeAccessToken(); + } catch (Exception $e) { $this->serverError($e->getMessage()); } } } +?>