归档
This commit is contained in:
6
oauth2/token.php
Normal file
6
oauth2/token.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?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();
|
||||
Reference in New Issue
Block a user