Airlock 2FA letter generation task
Airlock 2FA activation letters are generated by the Airlock 2FA Activation Letter Task plugin in the task scheduler of the Service Container module.
- Go to:
Service Container >> Services >> Task Scheduler Config >> Service - If not yet present, add a schedule Task Schedule with Airlock 2FA Activation Letter Task. Configure the task as follow.
- Airlock 2FA Settings: Select the Airlock 2FA settings plugin (usually auto-selected from the MAIN SETTINGS).
- User Store: Select the user store (usually auto-selected from the MAIN SETTINGS).
- Renderer: Defines how activation letters are rendered. Configure a plugin to select the appropriate template for activation letters. Language-specific templates are supported.
You can use the following placeholders in the templates for the Airlock 2FA activation letters:
Placeholder
Description
${User Context Data Name}
Context data of the user
${activationQRCode}
QR code image for the activation. The size of the image in the document can be adjusted:
${activationQRCode,imageSize,width in points,height in points}
${expires}
Expiring date of the activation. You can use extended format for the placeholder, for example
${expires,date,short}
${activationCodeShort}
Short 16-digit activation code as an additional option for the activation.
- Working Directory: Contains intermediary data.
- Output Directory: Contains the finished letters.
- Language Context Data Name: Select the context data item that holds the language of the user.
- Enrollment Validity [s]: duration during which the letter is valid.
Further information and links
- Configuration overview: Airlock 2FA configuration overview
- Token management (Airlock 2FA)