Files
appwrite/app/sdks/php/docs/examples/auth/oauth-callback.md
T
2019-05-09 09:54:42 +03:00

15 lines
225 B
Markdown

<?php
use Appwrite\Client;
use Appwrite\Services\Auth;
$client = new Client();
$client
setProject('')
setKey('')
;
$auth = new Auth($client);
$result = $auth->oauthCallback('[PROJECT_ID]', 'bitbucket', '[CODE]');