Uses of Class
com.serinity.accesscontrol.model.User
Packages that use User
Package
Description
-
Uses of User in com.serinity.accesscontrol.controller
Methods in com.serinity.accesscontrol.controller that return UserModifier and TypeMethodDescriptionstatic UserLoginController.getUser()Returns the authenticated user cached by the login flow.Methods in com.serinity.accesscontrol.controller with parameters of type UserModifier and TypeMethodDescriptionvoidCameraDesktopController.setEnrollMode(User user, Runnable onEnrollSuccess) Switch to enroll mode.Method parameters in com.serinity.accesscontrol.controller with type arguments of type UserModifier and TypeMethodDescriptionvoidCameraDesktopController.setRecognizeMode(Consumer<User> onRecognizeSuccess) Switch to recognize mode with a callback. -
Uses of User in com.serinity.accesscontrol.model
Methods in com.serinity.accesscontrol.model that return UserModifier and TypeMethodDescriptionAuthSession.getUser()Returns the user that owns this session.Profile.getUser()Returns the owning user.UserFace.getUser()Methods in com.serinity.accesscontrol.model with parameters of type UserModifier and TypeMethodDescriptionvoidSets the user that owns this session.voidSets the owning user.voidConstructors in com.serinity.accesscontrol.model with parameters of type User -
Uses of User in com.serinity.accesscontrol.repository
Subclasses with type arguments of type User in com.serinity.accesscontrol.repositoryModifier and TypeClassDescriptionfinal classRepository class for performing CRUD operations onUserentities.Methods in com.serinity.accesscontrol.repository that return UserModifier and TypeMethodDescriptionUserRepository.findUserByEmail(String email) Finds a user by their email address.Methods in com.serinity.accesscontrol.repository with parameters of type UserModifier and TypeMethodDescriptionbooleanAuthSessionRepository.existsActiveSession(User user) Checks whether the user has at least one active (non-revoked, non-expired) session.AuthSessionRepository.findActiveSession(User user) Finds the currently active (non-revoked, non-expired) session for a user. -
Uses of User in com.serinity.accesscontrol.service
Methods in com.serinity.accesscontrol.service that return UserModifier and TypeMethodDescriptionAntelopeFaceService.recognizeUser(org.opencv.core.Mat face) Detects and recognizes a face in the full frame in one call.Methods in com.serinity.accesscontrol.service that return types with arguments of type UserModifier and TypeMethodDescriptionstatic 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.Methods in com.serinity.accesscontrol.service with parameters of type UserModifier and TypeMethodDescriptionstatic 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.