appwrite/docs/examples/0.9.x/server-php/examples/account/get-session.md
2021-07-01 22:21:07 +05:30

390 B

setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; $account = new Account($client); $result = $account->getSession('[SESSION_ID]');