Uses of Class
edu.ucsb.cs156.dining.entities.User
-
Uses of User in edu.ucsb.cs156.dining.repositories
Modifier and TypeMethodDescriptionUserRepository.findByEmail
(String email) This method returns a User entity with a given email. -
Uses of User in edu.ucsb.cs156.dining.services
Modifier and TypeMethodDescriptionCurrentUserServiceImpl.getOAuth2AuthenticatedUser
(org.springframework.security.core.context.SecurityContext securityContext, org.springframework.security.core.Authentication authentication) This method obtains the current user that is logged in with OAuth2, if any.abstract User
CurrentUserService.getUser()
This method returns the current user as a User object.CurrentUserServiceImpl.getUser()
This method returns the current user as a User object.