Package wizardquest.auth
Interface AuthenticatorInterface
- All Known Implementing Classes:
Authenticator
public interface AuthenticatorInterface
-
Method Summary
Modifier and TypeMethodDescriptionlogin()Prompts the user to log in via Google, and returns the result.
-
Method Details
-
login
Prompts the user to log in via Google, and returns the result.- Returns:
- Returns an AuthenticationResult object, which contains the authenticated user's name, unique userID (sub), and their Role.
- Throws:
AuthenticationException- if authentication fails.
-