D
- The entity type@NoRepositoryBean public interface RefreshTokenRepository<D> extends org.springframework.data.repository.CrudRepository<D,String>
Modifier and Type | Method and Description |
---|---|
Class<?> |
entityType()
The specific partition shard entity type managed by this repository
|
List<D> |
findByAncestor(String ancestoryKey)
Find all refresh token instances in an inheritance line rooted to the original refresh token.
|
int |
partition()
The specific partition managed by this repository
|
List<D> findByAncestor(String ancestoryKey)
RefreshToken.getAncestor()
for more information on how ancestor is used.ancestoryKey
- The original refresh token that started the lineint partition()
Class<?> entityType()
Copyright © 2021. All rights reserved.