Uses of Class
it.univr.passportease.exception.notfound.UserNotFoundException
Package
Description
-
Uses of UserNotFoundException in it.univr.passportease.controller.user
Modifier and TypeMethodDescriptionUserAuthController.changeEmail
(String newEmail, String oldEmail) This mutation changes the email of the user.void
UserAuthController.changePassword
(String oldPassword, String newPassword) This mutation changes the password of the user.UserMutationController.createNotification
(NotificationInput notificationInput) This mutation creates a notification.UserMutationController.createReservation
(String availabilityID) This mutation creates a reservation from an availability.UserQueryController.getUserDetails()
This query returns the user details associated to the user.This mutation logs in the user and returns the access token and the refresh token.void
UserAuthController.logout()
This mutation invalidates the access token and the refresh token of the user, it is shared between users and workers.UserAuthController.refreshAccessToken
(String refreshToken) This mutation refreshes the access token and the refresh token of the user.UserAuthController.registerUser
(RegisterInput registerInput) This mutation registers the user and returns the access token and the refresh token. -
Uses of UserNotFoundException in it.univr.passportease.service.jwt
Modifier and TypeMethodDescriptionJwtService.getUserOrWorkerFromToken
(JWT token) Wrapper function to return User or Worker depending on the token.void
JwtService.invalidateRefreshToken
(JWT token) Invalidates the refresh token by setting it to an empty string. -
Uses of UserNotFoundException in it.univr.passportease.service.user
Modifier and TypeMethodDescriptionUserMutationService.createReservation
(UUID availabilityId, User user) Creates a new availability.UserQueryService.getUserDetails
(JWT token) Get the user details from the JWT token.Logs in the user with the given fiscal code and password.UserAuthService.register
(RegisterInput registerInput) Registers the user with the given input. -
Uses of UserNotFoundException in it.univr.passportease.service.user.impl
Modifier and TypeMethodDescriptionUserMutationServiceImpl.createReservation
(UUID availabilityId, User user) Creates a reservation by id, setting the availability status toStatus.TAKEN
UserQueryServiceImpl.getUserDetails
(JWT token) Get the user details from the JWT token.Logs in the user.UserAuthServiceImpl.register
(RegisterInput registerInput) Registers the user. -
Uses of UserNotFoundException in it.univr.passportease.service.userworker
Modifier and TypeMethodDescriptionUserWorkerMutationService.changeEmail
(String newEmail, String oldEmail) Change email in the databasevoid
UserWorkerMutationService.changePassword
(String oldPassword, String newPassword) Change password in the databasevoid
UserWorkerMutationService.logout()
Logs out the user / workerUserWorkerMutationService.refreshAccessToken
(JWT token, JWT refreshToken) Refresh the access token, and the refresh token in the database -
Uses of UserNotFoundException in it.univr.passportease.service.userworker.impl
Modifier and TypeMethodDescriptionUserWorkerMutationServiceImpl.changeEmail
(String newEmail, String oldEmail) Changes the email of the user or worker.void
UserWorkerMutationServiceImpl.changePassword
(String oldPassword, String newPassword) Changes the password of the user or worker.void
UserWorkerMutationServiceImpl.logout()
Logs out the user by invalidating the access token and the refresh token.UserWorkerMutationServiceImpl.refreshAccessToken
(JWT token, JWT refreshToken) Refreshes the access token and the refresh token.