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.

@FunctionalInterface public interface ValueRetriever
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 Type
    Method
    Description
    retrieve(org.pac4j.core.context.CallContext ctx, String key, OidcClient client)
    retrieve.