Uses of Enum Class
org.a2aproject.sdk.server.auth.TaskOperation
Packages that use TaskOperation
Package
Description
JSON-RPC transport handler implementations for the A2A protocol.
-
Uses of TaskOperation in org.a2aproject.sdk.compat03.conversion.test
Methods in org.a2aproject.sdk.compat03.conversion.test with parameters of type TaskOperationModifier and TypeMethodDescriptionbooleanTestTaskAuthorizationProvider_v0_3.checkCreate(ServerCallContext context, TaskOperation operation) booleanTestTaskAuthorizationProvider_v0_3.checkRead(ServerCallContext context, String taskId, TaskOperation operation) booleanTestTaskAuthorizationProvider_v0_3.checkWrite(ServerCallContext context, String taskId, TaskOperation operation) voidTestTaskAuthorizationProvider_v0_3.recordOwnership(ServerCallContext context, String taskId, TaskOperation operation) -
Uses of TaskOperation in org.a2aproject.sdk.extras.opentelemetry.server
Methods in org.a2aproject.sdk.extras.opentelemetry.server with parameters of type TaskOperationModifier and TypeMethodDescriptionvoidOpenTelemetryRequestHandlerDecorator.authorizeTaskAccess(@Nullable String requestedTaskId, ServerCallContext context, TaskOperation operation) -
Uses of TaskOperation in org.a2aproject.sdk.server.auth
Subclasses with type arguments of type TaskOperation in org.a2aproject.sdk.server.authModifier and TypeClassDescriptionenumIdentifies whichRequestHandleroperation triggered an authorization check.Methods in org.a2aproject.sdk.server.auth that return TaskOperationModifier and TypeMethodDescriptionstatic TaskOperationReturns the enum constant of this class with the specified name.static TaskOperation[]TaskOperation.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.a2aproject.sdk.server.auth with parameters of type TaskOperationModifier and TypeMethodDescriptionbooleanTaskAuthorizationProvider.checkCreate(ServerCallContext context, TaskOperation operation) Check whether the current user is allowed to create a new task.booleanTaskAuthorizationProvider.checkRead(ServerCallContext context, String taskId, TaskOperation operation) Check whether the current user is allowed to read the given task.static booleanTaskAuthorizationProvider.checkReadAccess(@Nullable TaskAuthorizationProvider provider, @Nullable ServerCallContext context, String taskId, TaskOperation operation) Fail-closed read-access check that handles absent provider and missing call context.booleanTaskAuthorizationProvider.checkWrite(ServerCallContext context, String taskId, TaskOperation operation) Check whether the current user is allowed to write to the given task.voidTaskAuthorizationProvider.recordOwnership(ServerCallContext context, String taskId, TaskOperation operation) Record that the current user owns the given task. -
Uses of TaskOperation in org.a2aproject.sdk.server.requesthandlers
Methods in org.a2aproject.sdk.server.requesthandlers with parameters of type TaskOperationModifier and TypeMethodDescriptionvoidDefaultRequestHandler.authorizeTaskAccess(@Nullable String requestedTaskId, ServerCallContext context, TaskOperation operation) voidRequestHandler.authorizeTaskAccess(@Nullable String requestedTaskId, ServerCallContext context, TaskOperation operation) -
Uses of TaskOperation in org.a2aproject.sdk.transport.jsonrpc.handler
Methods in org.a2aproject.sdk.transport.jsonrpc.handler with parameters of type TaskOperationModifier and TypeMethodDescriptionvoidJSONRPCHandler.authorizeTaskAccess(String requestedTaskId, ServerCallContext context, TaskOperation operation)