UserMementoProvider

SPI to obtain the UserMemento (in other words the identity of the executing user) from the provided GraphQL ExecutionContext and ExecutionStrategyParameters .

The framework provides a default implementation (as a fallback) that returns a statically configured user

*NOTE* : this API is considered experimental/beta and may change in the future.

API

UserMementoProvider.java
interface UserMementoProvider {
  UserMemento userMemento(ExecutionContext executionContext, ExecutionStrategyParameters parameters)
}