public interface UserMessagingService<D extends User>
Modifier and Type | Method and 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 . |
void sendResetPasswordEmail(D user, String token, String clientId)
AuthenticationEvent
.user
- the user requesting a reset password.token
- the secure token to facilitate the password reset.clientId
- the client id associated with the request.void sendPasswordChangedEmail(D user, String clientId)
AuthenticationEvent
.user
- the user requesting a reset password.clientId
- the client id associated with the request.Copyright © 2021. All rights reserved.