Package org.pac4j.oidc.util
Interface ValueRetriever
- All Known Implementing Classes:
SessionStoreValueRetriever
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
ValueRetriever retrieves a given value from the
WebContext. It can
either read the value from the session store or use some method to regenerate
the value. This is used to validate values such as the State, for
CSRF mitigation or the CodeVerifier for PKCE.- Since:
- 4.0.3
- Author:
- Martin Hansen, Emond Papegaaij
-
Method Summary
Modifier and TypeMethodDescriptionretrieve(String key, OidcClient client, org.pac4j.core.context.WebContext webContext, org.pac4j.core.context.session.SessionStore sessionStore)
-
Method Details
-
retrieve
Optional<Object> retrieve(String key, OidcClient client, org.pac4j.core.context.WebContext webContext, org.pac4j.core.context.session.SessionStore sessionStore)
-