1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

docs: update create token desc

This commit is contained in:
loks0n 2024-01-12 17:32:05 +00:00
parent c8ce360ce9
commit 741f7cbbc8

View file

@ -1 +1 @@
Returns a custom token with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [PUT /account/sessions/custom](https://appwrite.io/docs/references/cloud/client-web/account#updateCustomSession) endpoint to complete the login process. By default, the secret sent in the response is valid for 15 minutes.
Returns a token with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [PUT /account/sessions/custom](https://appwrite.io/docs/references/cloud/client-web/account#updateCustomSession) endpoint to complete the login process.