Skip to content

[Task]: make ServerCallContext class parameter mandatory #718

@sokoliva

Description

@sokoliva

Currently ServerCallContext in an optional parameter in request handlers and task stores methods. Since we use ServerCallContext for mandatory authorization and authentication it should non-optional.

By making the ServerCallContext mandatory, we eliminate the risk of un-scoped database queries and ensure that the A2A server acts as a secure gatekeeper at the data layer.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions