We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tokens can be used for one-time signins. The are stored on the user account document in the tokens: [] property.
tokens: []
api.sessions.add(options)
options.auth
options.account
options.username
options.account.username
options.account.token
options.timeout
1209600
api.account()
admin.account('account123')
admin.account({username: '[email protected]'})
admin.account({id: 'account123'})
admin.account({token: '[email protected]'})
api.account().tokens.add({type: 'passwordreset', timeout: 7200, email: '[email protected]')
💁 Pull Request #15
The text was updated successfully, but these errors were encountered:
gr2m
Successfully merging a pull request may close this issue.
Tokens can be used for one-time signins. The are stored on the user account document in the
tokens: []
property.api.sessions.add(options)
options.auth
tooptions.account
options.username
tooptions.account.username
(breaking change, not worth a deprecation at this point)options.account.token
to create a session using token only.options.timeout
, default to1209600
(14 days) to show whatapi.account()
admin.account('account123')
admin.account({username: '[email protected]'})
admin.account({id: 'account123'})
admin.account({token: '[email protected]'})
api.account().tokens.add({type: 'passwordreset', timeout: 7200, email: '[email protected]')
💁 Pull Request #15
The text was updated successfully, but these errors were encountered: