public class MemoryExpirationTokenRepository<T extends ExpirationAppToken<A,V>,A,V> extends MemoryCacheableAppTokenRepository<T,A,V> implements ExpirationTokenRepository<T,A,V>
cacheTokens, tokenFactory| 构造器和说明 |
|---|
MemoryExpirationTokenRepository(TokenFactory<T,A,V> tokenFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletionStage<T> |
refreshAsync(T token) |
CompletionStage<Void> |
removeExpiredTokenAsync() |
clearAsync, getTokenAsync, getTokensAsync, removeAsync, removeAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpiredTokens, getExpiredTokensAsync, removeExpiredTokengetTokenAsync, refreshclear, clearAsync, getTokens, getTokensAsync, remove, remove, removeAsync, removeAsyncgetToken, getTokenAsyncpublic MemoryExpirationTokenRepository(@Nonnull
TokenFactory<T,A,V> tokenFactory)
@Nonnull public CompletionStage<Void> removeExpiredTokenAsync()
removeExpiredTokenAsync 在接口中 ExpirationTokenRepository<T extends ExpirationAppToken<A,V>,A,V>@Nonnull public CompletionStage<T> refreshAsync(@Nonnull T token)
refreshAsync 在接口中 RefreshableTokenRepository<T extends ExpirationAppToken<A,V>,A,V>Copyright © 2024. All rights reserved.