Uses of Record Class
com.app.security.dto.TokensDto
Packages that use TokensDto
-
Uses of TokensDto in com.app.controller
Methods in com.app.controller that return types with arguments of type TokensDtoModifier and TypeMethodDescriptionUserController.refreshToken
(String token, jakarta.servlet.http.HttpServletResponse response) Refreshes authentication tokens using the refresh token from cookies. -
Uses of TokensDto in com.app.security.service
Methods in com.app.security.service that return TokensDtoModifier and TypeMethodDescriptionTokenService.generateToken
(org.springframework.security.core.Authentication authentication) Generates a new access and refresh token for the given authenticated user.TokenService.refreshToken
(RefreshTokenDto refreshTokenDto) Refreshes the access token using the provided refresh token.Methods in com.app.security.service with parameters of type TokensDto -
Uses of TokensDto in com.app.security.service.impl
Methods in com.app.security.service.impl that return TokensDtoModifier and TypeMethodDescriptionTokenServiceImpl.generateToken
(org.springframework.security.core.Authentication authentication) Generates access and refresh tokens for the authenticated user.TokenServiceImpl.refreshToken
(RefreshTokenDto refreshTokenDto) Refreshes the access token using the provided refresh token.Methods in com.app.security.service.impl with parameters of type TokensDto