Documentation ¶
Index ¶
- func GetTemplateData(translator *i18n.Translator, translateArgs map[string]interface{}, ...) templates.TemplateData
- func SendDomainClaimed(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, ...) error
- func SendEmailVerificationCode(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, ...) error
- func SendPasswordCode(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, ...) error
- func SendPasswordlessRegistrationLink(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, ...) error
- func SendPhoneVerificationCode(translator *i18n.Translator, user *view_model.NotifyUser, ...) error
- func SendUserInitCode(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, ...) error
- type DomainClaimedData
- type EmailVerificationCodeData
- type InitCodeEmailData
- type PasswordCodeData
- type PasswordlessRegistrationLinkData
- type PhoneVerificationCodeData
- type UrlData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTemplateData ¶
func GetTemplateData(translator *i18n.Translator, translateArgs map[string]interface{}, apiDomain, href, msgType, lang string, policy *query.LabelPolicy) templates.TemplateData
func SendDomainClaimed ¶
func SendDomainClaimed(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, username string, systemDefaults systemdefaults.SystemDefaults, colors *query.LabelPolicy, apiDomain string) error
func SendEmailVerificationCode ¶
func SendEmailVerificationCode(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, code *es_model.EmailCode, systemDefaults systemdefaults.SystemDefaults, alg crypto.EncryptionAlgorithm, colors *query.LabelPolicy, apiDomain string) error
func SendPasswordCode ¶
func SendPasswordCode(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, code *es_model.PasswordCode, systemDefaults systemdefaults.SystemDefaults, alg crypto.EncryptionAlgorithm, colors *query.LabelPolicy, apiDomain string) error
func SendPasswordlessRegistrationLink ¶
func SendPasswordlessRegistrationLink(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, code *user.HumanPasswordlessInitCodeRequestedEvent, systemDefaults systemdefaults.SystemDefaults, alg crypto.EncryptionAlgorithm, colors *query.LabelPolicy, apiDomain string) error
func SendPhoneVerificationCode ¶
func SendPhoneVerificationCode(translator *i18n.Translator, user *view_model.NotifyUser, code *es_model.PhoneCode, systemDefaults systemdefaults.SystemDefaults, alg crypto.EncryptionAlgorithm) error
func SendUserInitCode ¶
func SendUserInitCode(mailhtml string, translator *i18n.Translator, user *view_model.NotifyUser, code *es_model.InitUserCode, systemDefaults systemdefaults.SystemDefaults, alg crypto.EncryptionAlgorithm, colors *query.LabelPolicy, apiDomain string) error
Types ¶
type DomainClaimedData ¶
type DomainClaimedData struct { templates.TemplateData URL string }
type EmailVerificationCodeData ¶
type EmailVerificationCodeData struct { templates.TemplateData URL string }
type InitCodeEmailData ¶
type InitCodeEmailData struct { templates.TemplateData URL string }
type PasswordCodeData ¶
type PasswordCodeData struct { templates.TemplateData FirstName string LastName string URL string }
type PasswordlessRegistrationLinkData ¶
type PasswordlessRegistrationLinkData struct { templates.TemplateData URL string }
type PhoneVerificationCodeData ¶
type PhoneVerificationCodeData struct {
UserID string
}
Click to show internal directories.
Click to hide internal directories.