Files
2025-05-18 02:28:12 +12:00

304 B

import Appwrite

let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID

let account = Account(client)

let session = try await account.createSession( userId: "<USER_ID>", secret: "" )