Package org.pac4j.core.store
Interface Store<K,O>
- All Known Implementing Classes:
AbstractStore
,GuavaStore
public interface Store<K,O>
Store data.
- Since:
- 2.0.0
- Author:
- Jerome Leleu
-
Method Summary
-
Method Details
-
get
Get a value by key.- Parameters:
key
- the key- Returns:
- the object (optional)
-
set
Set a value by its key.- Parameters:
key
- the keyvalue
- the value
-
remove
Remove the value associated to the key.- Parameters:
key
- the key
-