Package org.pac4j.oidc.util
Interface ValueRetriever
-
- All Known Implementing Classes:
SessionStoreValueRetriever
public interface ValueRetriever
ValueRetriever retrieves a given value from theWebContext
. 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 theState
, for CSRF mitigation or theCodeVerifier
for PKCE.- Since:
- 4.0.3
- Author:
- Martin Hansen, Emond Papegaaij
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Object>
retrieve(String key, OidcClient<?> client, WebContext webContext)
-
-
-
Method Detail
-
retrieve
Optional<Object> retrieve(String key, OidcClient<?> client, WebContext webContext)
-
-