public TwilioSmsDispatcher(ITwillioConfiguration twilioConfiguration, IEnumerable <KeyValuePair <MessageTypes, SmsMessageFormatter> > messageFormatters, ILogService logger) { _accountSid = twilioConfiguration.AccountSid; _authToken = twilioConfiguration.AuthToken; _mobileNumberFrom = twilioConfiguration.MobileNumberFrom; _messageFormatters = messageFormatters; _logger = logger; }
public SmsDailyDigestMessageFormatter(ITwillioConfiguration configuration) : base(configuration) { Message = GetTemplateConfiguration(TemplateName).Message; }
public SmsApprenticeshipApplicationSubmittedMessageFormatter(ITwillioConfiguration configuration) : base(configuration) { Message = GetTemplateConfiguration("MessageTypes.ApprenticeshipApplicationSubmitted").Message; }
public SmsPasswordChangedMessageFormatter(ITwillioConfiguration configuration) : base(configuration) { Message = GetTemplateConfiguration("MessageTypes.PasswordChanged").Message; }
protected SmsMessageFormatter(ITwillioConfiguration configuration) { _configuration = configuration; }
public SmsAccountUnlockCodeMessageFormatter(ITwillioConfiguration configuration) : base(configuration) { Message = GetTemplateConfiguration("MessageTypes.SendAccountUnlockCode").Message; }
public SmsPasswordResetCodeMessageFormatter(ITwillioConfiguration configuration) : base(configuration) { Message = GetTemplateConfiguration("MessageTypes.SendPasswordResetCode").Message; }
public SmsSendMobileVerificationCodeFormatter(ITwillioConfiguration configuration) : base(configuration) { Message = GetTemplateConfiguration("MessageTypes.SendMobileVerificationCode").Message; }