public interface ActionTokenStoreProvider extends Provider
CodeToTokenStoreProvider,
which may reuse some components (eg. same infinispan cache)| Modifier and Type | Method and Description |
|---|---|
ActionTokenValueModel |
get(ActionTokenKeyModel key)
Returns token corresponding to the given key from the internal action token store
|
void |
put(ActionTokenKeyModel actionTokenKey,
Map<String,String> notes)
Adds a given token to token store.
|
ActionTokenValueModel |
remove(ActionTokenKeyModel key)
Removes token corresponding to the given key from the internal action token store, and returns the stored value
|
void put(ActionTokenKeyModel actionTokenKey, Map<String,String> notes)
actionTokenKey - keynotes - Optional notes to be stored with the token. Can be null in which case it is treated as an empty map.ActionTokenValueModel get(ActionTokenKeyModel key)
key - keynull if no token is found for given key and nonce, value otherwiseActionTokenValueModel remove(ActionTokenKeyModel key)
key - keynonce - nonce that must match a given keynull if no token is found for given key and nonce, value otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.