createSignInToken()
Creates a new sign-in token and associates it with the given user. By default, sign-in tokens expire in 30 days. You can optionally supply a different duration in seconds using the expires_in_seconds
property.
- Name
userId
- Type
string
- Description
The ID of the user that can use the newly created sign in token
- Name
expiresInSeconds
- Type
string
- Description
Specifies the life duration of the sign in token in seconds. Defaults to
2592000
(30 days)
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint POST/sign_in_tokens
. See the BAPI reference for more details.
Feedback
Last updated on