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

15 lines
257 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);
2019-09-20 18:33:11 +12:00
$result = $auth->login('email@example.com', 'password', 'https://example.com', 'https://example.com');