Klasse AuthService
java.lang.Object
com.spaghetticodegang.trylater.auth.AuthService
Service layer for handling authentication-related business logic.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic final record
Response returned after successful authentication. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglogin
(AuthRequestDto authRequestDto) Authenticates the user and returns a JWT along with user profile data.
-
Konstruktordetails
-
AuthService
public AuthService()
-
-
Methodendetails
-
login
Authenticates the user and returns a JWT along with user profile data.- Parameter:
authRequestDto
- the login credentials- Gibt zurück:
- the JWT and the authenticated user's public information
-