Class GoogleLoginService

java.lang.Object
org.localify.auth.login.GoogleLoginService

@Service @Transactional public class GoogleLoginService extends Object
Service for handling Google login.
  • Constructor Details

    • GoogleLoginService

      public GoogleLoginService()
  • Method Details

    • login

      public User login(String token)
      Logs in a user via a Google token.
      Parameters:
      token - the google token
      Returns:
      the User, either newly created or pre-existing and associated w/ this token's email