Interface UserMessagingService<D extends User>
- All Known Implementing Classes:
DefaultUserMessagingService
public interface UserMessagingService<D extends User>
- Author:
- Nathan Moore (nathanmoore).
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendPasswordChangedEmail
(D user, String clientId) Dispatches a "PASSWORD_CHANGED"AuthenticationEvent
.void
sendResetPasswordEmail
(D user, String token, String clientId) Dispatches a "RESET_PASSWORD"AuthenticationEvent
.
-
Method Details
-
sendResetPasswordEmail
Dispatches a "RESET_PASSWORD"AuthenticationEvent
.- Parameters:
user
- the user requesting a reset password.token
- the secure token to facilitate the password reset.clientId
- the client id associated with the request.
-
sendPasswordChangedEmail
Dispatches a "PASSWORD_CHANGED"AuthenticationEvent
.- Parameters:
user
- the user requesting a reset password.clientId
- the client id associated with the request.
-