15 lines
No EOL
241 B
Markdown
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'); |