Uses of Record Class
com.tnsai.accountability.AuthorityScope
Packages that use AuthorityScope
Package
Description
Action execution framework for agent tool/function calling.
Agent classes and lifecycle management for the TnsAI framework.
Security SPI contracts and human-in-the-loop approval for TnsAI agents.
-
Uses of AuthorityScope in com.tnsai.accountability
Methods in com.tnsai.accountability that return AuthorityScopeModifier and TypeMethodDescriptionstatic AuthorityScopeAuthorityScope.permanent()Convenience: a maximally-permissive scope that never expires.AgentLiabilityRecord.scope()Returns the value of thescoperecord component.static AuthorityScopeAuthorityScope.unrestricted(Duration validFor) Convenience: maximally-permissive scope; useful as a development default.Constructors in com.tnsai.accountability with parameters of type AuthorityScopeModifierConstructorDescriptionAgentLiabilityRecord(String agentId, String agentVersion, Instant invokedAt, Action action, AuthorityScope scope, LiabilityClass liability, String correlationId, Optional<String> outcome, Optional<byte[]> signature) Creates an instance of aAgentLiabilityRecordrecord class. -
Uses of AuthorityScope in com.tnsai.actions
Methods in com.tnsai.actions with parameters of type AuthorityScopeModifier and TypeMethodDescriptionvoidActionExecutor.setDefaultScope(AuthorityScope scope) Configure theAuthorityScoperecorded on every dispatch (TNS-298). -
Uses of AuthorityScope in com.tnsai.agents
Methods in com.tnsai.agents with parameters of type AuthorityScopeModifier and TypeMethodDescriptionAgentBuilder.authorityScope(AuthorityScope scope) Pre-declared authority bounds recorded on every dispatch (TNS-298). -
Uses of AuthorityScope in com.tnsai.security
Methods in com.tnsai.security that return AuthorityScopeModifier and TypeMethodDescriptionAccessRequest.authority()Returns the value of theauthorityrecord component.Methods in com.tnsai.security that return types with arguments of type AuthorityScopeMethods in com.tnsai.security with parameters of type AuthorityScopeModifier 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) InvocationContext.autonomous(AccessSubject, String, AuthorityScope)whose dispatches are attributed toprincipal.AccessGate.check(String name, ActionType type, Object target, Method method, ExecutionRule dynamicRule, AgentPrincipal principal, AuthorityScope authority) InvocationContext.delegateTo(AccessSubject nextAgent, String nextExecutorId, AuthorityScope nextAuthority) Trusted host transfer to the actual recipient agent.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) InvocationContext.otherAgent(AccessSubject, AccessSubject, String, AuthorityScope)whose dispatches are attributed toprincipal.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) InvocationContext.user(AccessSubject, AccessSubject, String, AuthorityScope)whose dispatches are attributed toprincipal.Constructors in com.tnsai.security with parameters of type AuthorityScopeModifierConstructorDescriptionAccessRequest(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. -
Uses of AuthorityScope in com.tnsai.tools.method
Methods in com.tnsai.tools.method with parameters of type AuthorityScopeModifier and TypeMethodDescriptionvoidToolMethodDispatcher.configureExecution(AgentPrincipal principal, AuthorityScope authority, AccessSubject agent) voidToolMethodDispatcher.setAccessAuthority(AuthorityScope authority)