public interface TokenRenderer
AccessRefreshToken
.Modifier and Type | Method and Description |
---|---|
AccessRefreshToken |
render(Integer expiresIn,
String accessToken,
String refreshToken) |
AccessRefreshToken |
render(UserDetails userDetails,
Integer expiresIn,
String accessToken,
String refreshToken) |
AccessRefreshToken render(Integer expiresIn, String accessToken, String refreshToken)
expiresIn
- In millisecondsaccessToken
- JWT tokenrefreshToken
- JWT tokenAccessRefreshToken
AccessRefreshToken render(UserDetails userDetails, Integer expiresIn, String accessToken, String refreshToken)
userDetails
- Authenticated user's representation.expiresIn
- In millisecondsaccessToken
- JWT tokenrefreshToken
- JWT tokenAccessRefreshToken