Twilio Access Token Generator v2
Overview
This module implements a Java action that can be used to generate Access Tokens required to authenticate Mendix application users to Twilio communications services.
Documentation
Typical usage scenario
Access Tokens are short-lived tokens that you use to authenticate Twilio client-side SDKs like Voice, Conversations, Sync, and Video.
Features and limitations
Java action supports Java 21.
Dependencies
Java dependency com.twilio.sdk is maintained from the userlib path and not using the Mendix supported Maven dependency management capability (vendorlib) due to the inability to configure dependency exclusions.
Installation
Download this module and use it in your Mendix project.
Configuration
The java action takes in 4 parameters:
1. identity: The identity to associate with the Access Token. Typically, this will be a username in your system. Voice tokens may only contain alpha-numeric and underscore characters. For privacy considerations, it is recommended that this value is a GUID identifier.
2. twilioAccountSid: The SID of the Account that will be responsible for the new Key resource.
3. twilioApiKey: The Twilio-provided string that uniquely identifies the Key resource to fetch.
4. twilioApiSecret: The private key. Ensure this key is encrypted in your Mendix applications.