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
boolean putIfAbsent(String tokenId, int lifespanInSeconds)
lifespanInSeconds- Minimum lifespan for which successfully added token will be kept in the cache.
Copyright © 2021 JBoss by Red Hat. All rights reserved.