Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 381 Bytes

File metadata and controls

15 lines (11 loc) · 381 Bytes
setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); $result = $account->createJWT( duration: 0 // optional );