mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
docs: better function descriptions
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user