1
0
Fork 0
mirror of synced 2024-09-13 08:03:33 +12:00
appwrite/app/sdks/php/docs/examples/auth/oauth-callback.md

15 lines
225 B
Markdown
Raw Normal View History

2019-05-09 18:54:39 +12:00
<?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]');