Uses of Class
com.bytedesk.core.rbac.token.TokenEntity
Packages that use TokenEntity
-
Uses of TokenEntity in com.bytedesk.core.rbac.token
Methods in com.bytedesk.core.rbac.token that return TokenEntityModifier and TypeMethodDescriptionprotected TokenEntity
TokenRestService.doSave
(TokenEntity entity) TokenRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, TokenEntity entity) Methods in com.bytedesk.core.rbac.token that return types with arguments of type TokenEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<TokenEntity>
TokenRestService.createSpecification
(TokenRequest request) protected org.springframework.data.domain.Page<TokenEntity>
TokenRestService.executePageQuery
(org.springframework.data.jpa.domain.Specification<TokenEntity> spec, org.springframework.data.domain.Pageable pageable) TokenRestService.findByAccessToken
(String accessToken) 根据accessToken查找Token实体TokenRepository.findByUserUidAndTypeAndRevokedFalseAndDeletedFalseAndExpiresAtAfter
(String userUid, String type, ZonedDateTime now) 通过用户UID、类型、未撤销、未删除和过期时间查询有效令牌TokenRepository.findFirstByAccessTokenAndRevokedFalseAndDeletedFalse
(String accessToken) 通过访问令牌查找Token实体static org.springframework.data.jpa.domain.Specification<TokenEntity>
TokenSpecification.search
(TokenRequest request, AuthService authService) Methods in com.bytedesk.core.rbac.token with parameters of type TokenEntityModifier and TypeMethodDescriptionTokenRestService.convertToResponse
(TokenEntity entity) protected TokenEntity
TokenRestService.doSave
(TokenEntity entity) TokenRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, TokenEntity entity) Method parameters in com.bytedesk.core.rbac.token with type arguments of type TokenEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<TokenEntity>
TokenRestService.executePageQuery
(org.springframework.data.jpa.domain.Specification<TokenEntity> spec, org.springframework.data.domain.Pageable pageable)