13 lines
170 B
Markdown
13 lines
170 B
Markdown
|
<?php
|
||
|
|
||
|
use Appwrite\Client;
|
||
|
use Appwrite\Services\Auth;
|
||
|
|
||
|
$client = new Client();
|
||
|
|
||
|
$client
|
||
|
;
|
||
|
|
||
|
$auth = new Auth($client);
|
||
|
|
||
|
$result = $auth->confirm('[USER_ID]', '[TOKEN]');
|