public interface TokenAuthenticationManager
| 限定符和类型 | 方法和说明 |
|---|---|
reactor.core.publisher.Mono<Authentication> |
getByToken(String token)
根据token获取认证信息
|
reactor.core.publisher.Mono<Void> |
putAuthentication(String token,
Authentication auth,
java.time.Duration ttl)
设置token认证信息
|
reactor.core.publisher.Mono<Void> |
removeToken(String token)
删除token
|
reactor.core.publisher.Mono<Authentication> getByToken(String token)
token - tokenreactor.core.publisher.Mono<Void> putAuthentication(String token, Authentication auth, java.time.Duration ttl)
token - tokenauth - 认证信息ttl - 有效期Copyright © 2016–2023. All rights reserved.