- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
authenticate - API Key Module Reference
This documentation provides a reference to the authenticate
method. This belongs to the API Key Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method verifies whether a token is valid, considering it authenticated.
Example#
Parameters#
token
stringThe token to verify.
Returns#
Promise
Promise<false | ApiKeyDTO>If the token is verified successfully, the API key associated with the token is returned. Otherwise, false
is returned.
Promise
Promise<false | ApiKeyDTO>false
is returned.Was this page helpful?