mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
7d235e3eed
* feat: sms config * feat: twilio as sms provider * feat:sms projection * feat: sms queries * feat: sms queries test * feat: sms configs * feat: sms configs sql file * fix merge * fix: rename from to sendername * fix: proto comments * fix: token as crypto * fix: tests * fix: sms config sender name to sender number * fix: sms config sender name to sender number * Update email.go * Update channel.go * Update V1.111__settings.sql Co-authored-by: Livio Amstutz <livio.a@gmail.com>
12 lines
212 B
Go
12 lines
212 B
Go
package twilio
|
|
|
|
type TwilioConfig struct {
|
|
SID string
|
|
Token string
|
|
SenderNumber string
|
|
}
|
|
|
|
func (t *TwilioConfig) IsValid() bool {
|
|
return t.SID != "" && t.Token != "" && t.SenderNumber != ""
|
|
}
|