Interface UserMessagingService<D extends User>
-
- All Known Implementing Classes:
DefaultUserMessagingService
public interface UserMessagingService<D extends User>
- Author:
- Nathan Moore (nathanmoore).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sendPasswordChangedEmail(D user, String clientId)
Dispatches a "PASSWORD_CHANGED"AuthenticationEvent
.void
sendResetPasswordEmail(D user, String token, String clientId)
Dispatches a "RESET_PASSWORD"AuthenticationEvent
.
-
-
-
Method Detail
-
sendResetPasswordEmail
void sendResetPasswordEmail(D user, String token, String clientId)
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
void sendPasswordChangedEmail(D user, String clientId)
Dispatches a "PASSWORD_CHANGED"AuthenticationEvent
.- Parameters:
user
- the user requesting a reset password.clientId
- the client id associated with the request.
-
-