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

15 lines
No EOL
241 B
Markdown

<?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');