Documentation ¶
Index ¶
- func SendSMTPEmail(settings SMTPSettings, content EmailContent) error
- type EmailContent
- type EmailDeliveryInterface
- type EmailType
- type EmailVerificationType
- type Ingredient
- type PasswordResetType
- type PasswordlessLoginType
- type SMTPFrom
- type SMTPInterface
- type SMTPServiceConfig
- type SMTPSettings
- type TypeInput
- type TypeInputWithService
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendSMTPEmail ¶
func SendSMTPEmail(settings SMTPSettings, content EmailContent) error
Types ¶
type EmailContent ¶ added in v0.7.0
type EmailDeliveryInterface ¶
type EmailDeliveryInterface struct {
SendEmail *func(input EmailType, userContext supertokens.UserContext) error
}
type EmailType ¶
type EmailType struct { EmailVerification *EmailVerificationType PasswordReset *PasswordResetType PasswordlessLogin *PasswordlessLoginType }
type EmailVerificationType ¶
type Ingredient ¶
type Ingredient struct {
IngredientInterfaceImpl EmailDeliveryInterface
}
func MakeIngredient ¶
func MakeIngredient(config TypeInputWithService) Ingredient
type PasswordResetType ¶
type PasswordlessLoginType ¶
type SMTPInterface ¶ added in v0.7.0
type SMTPInterface struct { SendRawEmail *func(input EmailContent, userContext supertokens.UserContext) error GetContent *func(input EmailType, userContext supertokens.UserContext) (EmailContent, error) }
type SMTPServiceConfig ¶
type SMTPServiceConfig struct { Settings SMTPSettings Override func(originalImplementation SMTPInterface) SMTPInterface }
type SMTPSettings ¶ added in v0.7.0
type TypeInput ¶
type TypeInput struct { Service *EmailDeliveryInterface Override func(originalImplementation EmailDeliveryInterface) EmailDeliveryInterface }
type TypeInputWithService ¶
type TypeInputWithService struct { Service EmailDeliveryInterface Override func(originalImplementation EmailDeliveryInterface) EmailDeliveryInterface }
Click to show internal directories.
Click to hide internal directories.