Files
usercenter_old/oauth2/token.php
2022-06-17 21:45:51 +08:00

7 lines
238 B
PHP

<?php
// include our OAuth2 Server object
require_once __DIR__.'/server.php';
// Handle a request for an OAuth2.0 Access Token and send the response to the client
$server->handleTokenRequest(OAuth2\Request::createFromGlobals())->send();