Interface AuthService

All Known Implementing Classes:
AuthServiceImpl

public interface AuthService
Service interface for authentication operations, including user sign-up and authentication.
  • Method Details

    • signUp

      JwtAuthResponse signUp(UserProfileRequest userProfileRequest) throws Exception
      Signs up a new user with the provided user profile information.
      Parameters:
      userProfileRequest - the request object containing user profile information
      Returns:
      a JwtAuthResponse containing the JWT and other authentication details
      Throws:
      Exception - if an error occurs during the sign-up process
    • authenticate

      JwtAuthResponse authenticate(UserLoginRequest loginRequest)
      Authenticates a user with the provided login credentials.
      Parameters:
      loginRequest - the request object containing login credentials
      Returns:
      a JwtAuthResponse containing the JWT and other authentication details