Skip to content

[#367] Review usage of Revocable proxies#509

Merged
rido-min merged 2 commits intomainfrom
southworks/add/revocable-proxy-doc
Aug 11, 2025
Merged

[#367] Review usage of Revocable proxies#509
rido-min merged 2 commits intomainfrom
southworks/add/revocable-proxy-doc

Conversation

@ceciliaavila
Copy link
Copy Markdown
Collaborator

Fixes #367

Description

This PR documents the use of Proxy.revocable in the BaseAdapter's runMiddleware function.
This mechanism enhances security by ensuring that once the proxy is revoked, after the middleware pipeline completes or errors, any access attempt to the TurnContext will throw an error.

Detailed Changes

  • Added documentation to the makeRevocable function and its use in BaseAdapter.

Testing

This image shows how the documentation is displayed.
image

@rido-min rido-min enabled auto-merge (squash) August 11, 2025 11:34
@rido-min rido-min merged commit e7b8d39 into main Aug 11, 2025
7 checks passed
@rido-min rido-min deleted the southworks/add/revocable-proxy-doc branch August 11, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review usage of Revocable proxies

2 participants