Uses of Class
com.tnsai.security.InvocationContext
Packages that use InvocationContext
Package
Description
Security SPI contracts and human-in-the-loop approval for TnsAI agents.
-
Uses of InvocationContext in com.tnsai.security
Methods in com.tnsai.security that return InvocationContextModifier and TypeMethodDescriptionstatic InvocationContextInvocationContext.autonomous(AccessSubject executingAgent, String executorId, AuthorityScope authority) Use only for the actual agent's own initiative, never for forwarded or human work.static InvocationContextInvocationContext.autonomous(AccessSubject executingAgent, String executorId, AuthorityScope authority, AgentPrincipal principal) autonomous(AccessSubject, String, AuthorityScope)whose dispatches are attributed toprincipal.InvocationContext.delegateTo(AccessSubject nextAgent, String nextExecutorId, AuthorityScope nextAuthority) Trusted host transfer to the actual recipient agent.AccessRequest.invocation()Returns the value of theinvocationrecord component.static InvocationContextInvocationContext.otherAgent(AccessSubject callerAgent, AccessSubject executingAgent, String executorId, AuthorityScope authority) Trusted peer ingress.static InvocationContextInvocationContext.otherAgent(AccessSubject callerAgent, AccessSubject executingAgent, String executorId, AuthorityScope authority, AgentPrincipal principal) otherAgent(AccessSubject, AccessSubject, String, AuthorityScope)whose dispatches are attributed toprincipal.static InvocationContextCarries an unclassified ingress without granting any execution category.static InvocationContextInvocationContext.user(AccessSubject human, AccessSubject executingAgent, String executorId, AuthorityScope authority) Host-owned human interaction boundary; the subject may be a stable anonymous chat identity.static InvocationContextInvocationContext.user(AccessSubject human, AccessSubject executingAgent, String executorId, AuthorityScope authority, AgentPrincipal principal) user(AccessSubject, AccessSubject, String, AuthorityScope)whose dispatches are attributed toprincipal.Methods in com.tnsai.security that return types with arguments of type InvocationContextConstructors in com.tnsai.security with parameters of type InvocationContextModifierConstructorDescriptionAccessRequest(String actionName, ActionType actionType, Object target, AccessDeclaration declaration, InvocationContext invocation, AgentPrincipal executor, AuthorityScope authority, AccessSubject executingAgent, String targetSystem, String bindingFingerprint, String partitionFingerprint) Creates an instance of aAccessRequestrecord class.