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.
Managing Files
Twidget offers a set of commands to manipulate files in your file store. Below are the descriptions and usage of each command to help you understand how to utilize them effectively. Get File. Retrieve a file via file path. Inputs: - `path`: The file path to retrieve the file from. Outputs: - `filena...
Text
Twidget offers a variety of commands to manipulate text in various ways. To Uppercase. Converts all characters of the provided text to uppercase. - text: The text to be converted to uppercase. - A text string with all characters in uppercase. To Lowercase. Converts all characters of the provided tex...
Local Storage
Twidget provides a set of local storage commands that enable interaction with the browser’s `localStorage` API through a no-code interface. These commands are useful for storing, retrieving, and managing key-value data persistently within the current domain context. Purpose. These commands abstract ...
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 ...
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...