mirror of
https://github.com/appwrite/appwrite
synced 2026-05-15 13:08:31 +00:00
375 B
375 B
setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint
->setProject('5df5acd0d48c2'); // Your project ID
$account = new Account($client);
$result = $account->createChallenge(
factor: AuthenticationFactor::TOTP()
);