Twidget provides several built-in functions to enhance the security of your applications. Below is an overview of each security command, including its description, inputs, and outputs.
Description: Generates a unique identifier.
None
Description: Hashes the provided text using the bcrypt algorithm.
Description: Checks whether the provided raw text matches the hashed text.
raw_text: The raw text.
hashed_text: The hashed text.
Description: Generates a JWT Authentication token.
id: The user ID.
email: The user email.
expiration: The duration of the token's validity (in seconds).
Type: Object
token: The authentication token (Text).
expires_at: The expiration date of the token (Date).
signature: The token signature (Text).
Description: Returns information about the authenticated user.
None
Type: Object
_id: The user ID (Text).
created_at: The account creation date (Date).
email: The user email (Text).
These security commands are essential for managing authentication, securing user data, and protecting your application from unauthorized access.
Send Message
Send SMS Command. With Twidget, you can send SMS messages to phones using the `Send SMS` command. This functionality varies depending on the provider. Currently, we support Twilio as the SMS provider. To use Twilio for SMS integrations, you will need: - A Twilio account ID - Twilio Auth Token - A Tw...
Date
Twidget offers a variety of commands to manipulate date objects. Below are the available commands along with their respective descriptions, inputs, and outputs. Current Date. Description: Returns the current date and time. Output: - Type: DATE Add Time. Description: Returns the date plus a specified...
Conversion
Overview. Twidget's conversion commands allow you to easily convert different data types to the required format. Below is a list of the available conversion commands and examples of how to use them. The `Convert to Text` command converts the provided value to a text (string) format. Examples: - `123...
Variables
Variables are essential building blocks in Twidget that allow you to store and manipulate data dynamically within your no-code applications. They enable you to create flexible and interactive applications by holding values that can be changed and referenced throughout your workflow. Creating Variabl...
Lists
Twidget offers a variety of commands to help you manipulate lists easily without coding. Below is a detailed explanation of each command available. Get. Description: Returns the element in the provided list at the given index. Inputs: - `list`: The list from which to get the element. - `index`: The ...