Uses of Class
com.serinity.accesscontrol.dto.ServiceResult
Packages that use ServiceResult
-
Uses of ServiceResult in com.serinity.accesscontrol.dto
Methods in com.serinity.accesscontrol.dto that return ServiceResultModifier and TypeMethodDescriptionstatic <T> ServiceResult<T> Creates a failure result with an error message and no payload.static <T> ServiceResult<T> Creates a successful result with a payload and a message. -
Uses of ServiceResult in com.serinity.accesscontrol.service
Methods in com.serinity.accesscontrol.service that return ServiceResultModifier and TypeMethodDescriptionstatic ServiceResult<Void> UserService.confirmResetMail(String email, String inputCode, String newPassword) Confirms a password reset by verifying the one-time code and applying the new password.static ServiceResult<Void> UserService.sendResetMail(String email) Initiates a password reset flow by sending a one-time code to the user's email address.static ServiceResult<User> Signs in a user using their email (or username) and password.static ServiceResult<User> UserService.signInWithFace(User user) Creates a new authenticated session for a user who was identified via face recognition, revoking any previously active session, and records the login in the audit log with actionAuditAction.USER_FACE_LOGIN.static ServiceResult<User> Registers a new user with email, password, and role.