- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
validateInviteToken - User Module Reference
This documentation provides a reference to the validateInviteToken
method. This belongs to the User Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method validates that a token belongs to an invite and returns that invite.
An error is thrown if the invite has expired or no invite matches the token.
Example#
Parameters#
token
stringThe token to validate
Returns#
Promise
Promise<InviteDTO>The token's invite.
Promise
Promise<InviteDTO>Was this page helpful?