Interface IdUserPasswordResetServiceType
- All Superinterfaces:
IdServiceType
- All Known Implementing Classes:
IdUserPasswordResetService
The user password reset service.
-
Method Summary
Modifier and TypeMethodDescriptionvoidresetBegin(String sourceHost, String userAgent, UUID requestId, Optional<String> email, Optional<String> userName) Start a password reset.Check a password reset token.voidresetConfirm(String sourceHost, String userAgent, UUID requestId, Optional<String> password0Opt, Optional<String> password1Opt, Optional<String> tokenOpt) Confirm a password reset.Methods inherited from interface com.io7m.idstore.services.api.IdServiceType
description
-
Method Details
-
resetBegin
void resetBegin(String sourceHost, String userAgent, UUID requestId, Optional<String> email, Optional<String> userName) throws IdCommandExecutionFailure Start a password reset.- Parameters:
sourceHost- The source host of the requestuserAgent- The user agentrequestId- The request IDemail- The emailuserName- The username- Throws:
IdCommandExecutionFailure- On errors
-
resetCheck
IdToken resetCheck(String sourceHost, String userAgent, UUID requestId, Optional<String> token) throws IdCommandExecutionFailure Check a password reset token.- Parameters:
sourceHost- The source host of the requestuserAgent- The user agentrequestId- The request IDtoken- The token- Returns:
- The checked token
- Throws:
IdCommandExecutionFailure- On errors
-
resetConfirm
void resetConfirm(String sourceHost, String userAgent, UUID requestId, Optional<String> password0Opt, Optional<String> password1Opt, Optional<String> tokenOpt) throws IdCommandExecutionFailure Confirm a password reset.- Parameters:
sourceHost- The source host of the requestuserAgent- The user agentrequestId- The request IDpassword0Opt- The passwordpassword1Opt- The confirmed passwordtokenOpt- The reset token- Throws:
IdCommandExecutionFailure- On errors
-