2019-04-24 21:52:08 +00:00
|
|
|
package notification
|
|
|
|
|
2021-09-17 09:53:59 +00:00
|
|
|
import (
|
2022-12-23 05:06:49 +00:00
|
|
|
"context"
|
2022-07-18 00:56:09 +00:00
|
|
|
"net/mail"
|
|
|
|
|
2022-03-06 05:47:40 +00:00
|
|
|
"github.com/authelia/authelia/v4/internal/model"
|
2022-12-23 05:06:49 +00:00
|
|
|
"github.com/authelia/authelia/v4/internal/templates"
|
2021-09-17 09:53:59 +00:00
|
|
|
)
|
|
|
|
|
2019-04-24 21:52:08 +00:00
|
|
|
// Notifier interface for sending the identity verification link.
|
|
|
|
type Notifier interface {
|
2022-03-06 05:47:40 +00:00
|
|
|
model.StartupCheck
|
2021-11-23 09:45:38 +00:00
|
|
|
|
2022-12-23 05:06:49 +00:00
|
|
|
Send(ctx context.Context, recipient mail.Address, subject string, et *templates.EmailTemplate, data any) (err error)
|
2019-04-24 21:52:08 +00:00
|
|
|
}
|