mirror of https://github.com/authelia/authelia.git
17 lines
395 B
Go
17 lines
395 B
Go
package notification
|
|
|
|
import (
|
|
"context"
|
|
"net/mail"
|
|
|
|
"github.com/authelia/authelia/v4/internal/model"
|
|
"github.com/authelia/authelia/v4/internal/templates"
|
|
)
|
|
|
|
// Notifier interface for sending the identity verification link.
|
|
type Notifier interface {
|
|
model.StartupCheck
|
|
|
|
Send(ctx context.Context, recipient mail.Address, subject string, et *templates.EmailTemplate, data any) (err error)
|
|
}
|