Uses of Interface
cloud.opencode.base.flow.spi.CurrentUserProvider
Packages that use CurrentUserProvider
Package
Description
Package-private engine internals (DefaultFlowEngine / StepEvaluator / TransitionResolver / HistoryWriter).
Service Provider Interfaces (3 SPIs: AssigneeResolver / ExpressionEvaluator / CurrentUserProvider).
-
Uses of CurrentUserProvider in cloud.opencode.base.flow.internal
Constructors in cloud.opencode.base.flow.internal with parameters of type CurrentUserProviderModifierConstructorDescriptionDefaultFlowInstanceService(FlowRepository repo, StepEntry stepEntry, HistoryWriter history, cloud.opencode.base.flow.internal.IdProvider idProvider, FlowMetrics metrics, CurrentUserProvider currentUser) Full test-friendly constructor including authn SPI.DefaultFlowInstanceService(FlowRepository repo, AssigneeResolver assigneeResolver, ExpressionEvaluator exprEvaluator, FlowMetrics metrics, CurrentUserProvider currentUser) Full convenience constructor including authn SPI.DefaultHistoryService(FlowRepository repo, CurrentUserProvider currentUser) Construct the service with engine-level authz enforced via the givenCurrentUserProvider.DefaultTaskService(FlowRepository repo, ApproveOperation approveOp, VoteOperation voteOp, RejectOperation rejectOp, AddSignOperation addSignOp, WithdrawOperation withdrawOp, TransferOperation transferOp, CirculateOperation circulateOp, FlowMetrics metrics, CurrentUserProvider currentUser) Full test-friendly constructor including authn SPI.DefaultTaskService(FlowRepository repo, AssigneeResolver assigneeResolver, ExpressionEvaluator exprEvaluator, FlowMetrics metrics, CurrentUserProvider currentUser) Full convenience constructor including authn SPI. -
Uses of CurrentUserProvider in cloud.opencode.base.flow.spi
Fields in cloud.opencode.base.flow.spi declared as CurrentUserProviderModifier and TypeFieldDescriptionstatic final CurrentUserProviderCurrentUserProvider.NO_OPNo-op provider that always returnsnull; the engine treats this as "no authenticated principal — engine-level authz checks are skipped".