Files
noodl-docs/library/prefabs/xano/components/xano-authtoken-refresh/README.md
Eric Tuvesson 53f0d6320e Initial commit
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com>
Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com>
Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com>
Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
2023-09-05 12:08:55 +02:00

1.8 KiB

title, hide_title
title hide_title
authToken Refresh true

authToken Refresh

This component is used to automatically refresh the user authToken.

Please note that Xano Client needs to be set up in your app before you can properly use this component.

Inputs

Data Description
TTL Sets the duration before refreshing the authToken. It is commonly set to half of the token duration.
Endpoint Path Sets the API endpoint path (used with the API Group Base URL) to refresh the user authToken.
Signals Description
Start Starts the refresh sequence.
Stop Stops the refresh sequence.

Outputs

Signals Description
Success Sends a signal when the request succeeded.
Failure Sends a signal when an error occurred, and logs an error message in the console.