mirror of
https://github.com/absmach/magistrala.git
synced 2026-06-23 04:10:28 +00:00
e57ad79cd4
Signed-off-by: Arvindh <arvindh91@gmail.com>
14 lines
441 B
Go
14 lines
441 B
Go
// Copyright (c) Abstract Machines
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package users
|
|
|
|
// Emailer wrapper around the email.
|
|
type Emailer interface {
|
|
// SendPasswordReset sends an email to the user with a link to reset the password.
|
|
SendPasswordReset(To []string, user, token string) error
|
|
|
|
// SendVerification sends an email to the user with a verification token.
|
|
SendVerification(To []string, user, verificationToken string) error
|
|
}
|