public interface CodeToTokenStoreProvider extends Provider
ActionTokenStoreProvider
, however it may reuse some components (eg. same infinispan cache)Modifier and Type | Method and Description |
---|---|
void |
put(UUID codeId,
int lifespanSeconds,
Map<String,String> codeData)
Stores the given data and guarantees that data should be available in the store for at least the time specified by parameter
|
Map<String,String> |
remove(UUID codeId)
This method returns data just if removal was successful.
|
void put(UUID codeId, int lifespanSeconds, Map<String,String> codeData)
codeId
- lifespanSeconds
- codeData
- Map<String,String> remove(UUID codeId)
codeId
- Copyright © 2021 JBoss by Red Hat. All rights reserved.