public interface SingleUseTokenStoreProvider extends Provider
CodeToTokenStoreProvider, however will be good to merge those 2 providers to "SingleUseCacheProvider"
in the future as they provide very similar thing| Modifier and Type | Method and Description |
|---|---|
boolean |
putIfAbsent(String tokenId,
int lifespanInSeconds)
Will try to put the token into the cache.
|
boolean putIfAbsent(String tokenId, int lifespanInSeconds)
tokenId - lifespanInSeconds - Minimum lifespan for which successfully added token will be kept in the cache.Copyright © 2021 JBoss by Red Hat. All rights reserved.