docs: better function descriptions
This commit is contained in:
parent
7823b90bf3
commit
546dc3cfd1
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Use this endpoint to exchange a previously generated token for a session. The returned session will be a regular session object with all its own credentials and metadata.
|
||||
Use this endpoint to complete creating the session with a custom session token. Both the **userId** and **secret** arguments will be returned in the response body when sending your request to the [POST /users/:userId/sessions](https://appwrite.io/docs/references/cloud/server-nodejs/users#createCustomSession) endpoint.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Use this endpoint to generate a 'universal' token which can be sent to a user by a secure method, and then exchanged for a session.
|
||||
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.
|
Loading…
Reference in a new issue