Uses of Class
com.tnsai.security.approval.ApprovalToken.Builder
Packages that use ApprovalToken.Builder
Package
Description
Human-in-the-loop (HITL) approval mechanism for sensitive agent actions.
-
Uses of ApprovalToken.Builder in com.tnsai.security.approval
Methods in com.tnsai.security.approval that return ApprovalToken.BuilderModifier and TypeMethodDescriptionApprovalToken.Builder.actionName(String actionName) Sets the action name.Sets the agent ID.static ApprovalToken.BuilderApprovalToken.builder()Creates a token builder.ApprovalToken.Builder.parameters(Map<String, Object> parameters) Sets the action parameters.Sets the reason for approval request.ApprovalToken.Builder.requestedBy(String requestedBy) Sets who requested approval.ApprovalToken.Builder.singleUse(boolean singleUse) Sets whether token is single-use.ApprovalToken.Builder.timeToLive(Duration ttl) Sets time to live.Sets a custom token ID.