Uses of Class
com.jangular.backend.dto.AuthResponse
Packages that use AuthResponse
-
Uses of AuthResponse in com.jangular.backend.controller
Methods in com.jangular.backend.controller that return types with arguments of type AuthResponseModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<AuthResponse> AuthController.login(@Valid AuthRequest loginRequest, jakarta.servlet.http.HttpServletRequest request) User login endpointorg.springframework.http.ResponseEntity<AuthResponse> AuthController.refreshToken(@Valid TokenRefreshRequest request) Refresh token endpoint -
Uses of AuthResponse in com.jangular.backend.service
Methods in com.jangular.backend.service that return AuthResponseModifier and TypeMethodDescriptionAuthenticationService.authenticate(AuthRequest request, String ipAddress, String userAgent) Authenticate user and generate JWT tokensAuthenticationService.refreshToken(String refreshToken) Refresh access token using refresh token