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