Package org.pac4j.oidc.util
Class SessionStoreValueRetriever
java.lang.Object
org.pac4j.oidc.util.SessionStoreValueRetriever
- All Implemented Interfaces:
ValueRetriever
The default implementation of
ValueRetriever
that reads the values
from the SessionStore
in the WebContext
.- Since:
- 4.0.3
- Author:
- Emond Papegaaij
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionretrieve
(org.pac4j.core.context.CallContext ctx, String key, OidcClient client) retrieve.
-
Constructor Details
-
SessionStoreValueRetriever
public SessionStoreValueRetriever()
-
-
Method Details
-
retrieve
public Optional<Object> retrieve(org.pac4j.core.context.CallContext ctx, String key, OidcClient client) retrieve.
- Specified by:
retrieve
in interfaceValueRetriever
- Parameters:
ctx
- aCallContext
objectkey
- aString
objectclient
- aOidcClient
object- Returns:
- a
Optional
object
-