Interface ContextDataProvider

All Known Implementing Classes:
ConstantContextDataProvider
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 ContextDataProvider
This interface can be used to expose additional information to the OPA policy via the context field. Data returned by getContextData() is placed in input.context.data. The returned object must be JSON serializeable.