@DefaultImplementation(value=DefaultAccessRefreshTokenGenerator.class) public interface AccessRefreshTokenGenerator
AccessRefreshToken
for a particular user.Modifier and Type | Method and Description |
---|---|
java.util.Optional<AccessRefreshToken> |
generate(java.lang.String refreshToken,
java.util.Map<java.lang.String,?> oldClaims) |
java.util.Optional<AccessRefreshToken> |
generate(java.lang.String refreshToken,
UserDetails userDetails) |
java.util.Optional<AccessRefreshToken> |
generate(UserDetails userDetails) |
java.util.Optional<java.lang.String> |
generateRefreshToken(UserDetails userDetails) |
@NonNull java.util.Optional<AccessRefreshToken> generate(@NonNull UserDetails userDetails)
@NonNull java.util.Optional<java.lang.String> generateRefreshToken(@NonNull UserDetails userDetails)
@NonNull java.util.Optional<AccessRefreshToken> generate(@NonNull java.lang.String refreshToken, @NonNull java.util.Map<java.lang.String,?> oldClaims)
@NonNull java.util.Optional<AccessRefreshToken> generate(@NonNull java.lang.String refreshToken, @NonNull UserDetails userDetails)