SMS Event Subscriber (Adminapp)
Description
An event subscriber that sends an SMS to notify a user.
May be used by
Properties
SMS settings (
smsSettings) Description
Settings to send a SMS to the notified user.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Phone Number Providers (
phoneNumberProviders) Description
Provides the phone numbers to which the notification will be sent.
Attributes
Plugin-List
Mandatory
Assignable plugins
Message Resource Key (
messageResourceKey) Description
The resource key under which the localized template for the sms message can be found. The following syntax can be used to include data in the template.
- ${contextDataName} for the value of contextDataName in the context-data of the managed user.
- ${event.createdAt,date,format} for the date/time at which the event was created, where "format" is a date pattern like "yyyy-MM-dd HH:mm:ss".
- event.createdAt
- event.data.addedRoles (list of strings)
- event.data.airlock2FAAccountId
- event.data.airlock2FADeviceId
- event.data.activeAuthenticationMethod
- event.data.contextDataChanged.%s.newValue (where "%s" is replaced by the context-data field name).
- event.data.contextDataChanged.%s.oldValue (where "%s" is replaced by the context-data field name).
- event.data.crontoDeviceId
- event.data.delegation.newPermissions (list of strings)
- event.data.delegation.oldPermissions (list of strings)
- event.data.delegation.permissions (list of strings)
- event.data.delegation.realm
- event.data.delegation.role
- event.data.fidoCredentialId
- event.data.lockReason
- event.data.mtanNewPhoneNumber
- event.data.mtanNumberId
- event.data.mtanOldPhoneNumber
- event.data.newEmailAddress
- event.data.newRealm
- event.data.newRoles (list of strings)
- event.data.oldEmailAddress
- event.data.oldRealm
- event.data.oldRoles (list of strings)
- event.data.previousAuthenticationMethod
- event.data.removedRoles (list of strings)
- event.data.userId
- event.id
- event.metadata.requestIp
- event.metadata.userAgent
- event.source.adminId
Attributes
String
Optional
Default value
sms.notification.message
Language Context Data Name (
languageContextDataName) Description
The context data field whose value is to be used as the recipient's message language. If the provided value is blank or invalid, the default language will be used.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Default Language (
defaultLanguage) Description
The default language code used when no (or no valid) information about the current language is present. The code must resolve to a locale that's available on the server. Use a lowercase ISO-639 two-letter language code, optionally followed by "_" and an uppercase ISO-3166 two-letter country code.
Attributes
String
Optional
Default value
de
Suggested values
de, fr, en, en_GB, de_CH
Event (
event) Description
The general Adminapp event about which the subscriber should be notified.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Airlock 2FA Device Deleted Authentication Method Changed Context Data Changed Cronto Device Deleted Cronto Letter Ordered Delegation Created Delegation Deleted Delegation Permissions Changed Device Token Deleted Email Address Added Email Address Changed Email Address Deleted FIDO Credential Deleted MTAN Token Deleted MTAN Token Phone Number Changed MTAN Token Registered Password Changed Password Letter Ordered User Created User Deleted User Locked User Realm Changed User Roles Changed User Unlocked
YAML Template (with default values)
type: AdminappSmsEventSubscriber
id: AdminappSmsEventSubscriber-xxxxxx
displayName:
comment:
properties:
defaultLanguage: de
event:
languageContextDataName:
messageResourceKey: sms.notification.message
phoneNumberProviders:
smsSettings: