public interface AuthenticationTokenService
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.Cookie |
buildRefreshTokenCookie(String refreshToken) |
String |
generateAuthenticationToken(Long userId,
String username,
boolean isCrossAppAuth,
String commaSeparatedAuthorities) |
String |
generateCustomerToken(Long customerId) |
String |
generateRefreshToken(Long userId,
String username,
boolean isCrossAppAuth,
String commaSeparatedAuthorities) |
ApiUserDTO |
parseAccessToken(String token) |
Long |
parseCustomerToken(String customerToken) |
ApiUserDTO |
parseRefreshToken(String token) |
ApiUserDTO parseAccessToken(String token) throws ExpiredAuthenticationTokenException
ApiUserDTO parseRefreshToken(String token) throws ExpiredAuthenticationTokenException
String generateAuthenticationToken(Long userId, String username, boolean isCrossAppAuth, String commaSeparatedAuthorities)
String generateRefreshToken(Long userId, String username, boolean isCrossAppAuth, String commaSeparatedAuthorities)
javax.servlet.http.Cookie buildRefreshTokenCookie(String refreshToken)
Copyright © 2020. All rights reserved.