1
0
Fork 0
mirror of synced 2024-09-12 15:47:12 +12:00
appwrite/app/sdks/php/docs/examples/auth/login.md
2019-09-20 09:33:11 +03:00

15 lines
No EOL
257 B
Markdown

<?php
use Appwrite\Client;
use Appwrite\Services\Auth;
$client = new Client();
$client
setProject('')
setKey('')
;
$auth = new Auth($client);
$result = $auth->login('email@example.com', 'password', 'https://example.com', 'https://example.com');