mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
241 B
241 B
<?php
use Appwrite\Client;
use Appwrite\Services\Auth;
$client = new Client();
$client
->setProject('')
->setKey('')
;
$auth = new Auth($client);
$result = $auth->oauth('bitbucket', 'https://example.com', 'https://example.com');