Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow additional authorities to verify invocation #267

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alanshaw
Copy link
Member

This seems to work good for me.

You might want to thread this deeper, but let me know if you want to merge as is and I'll write a test to fix the coverage.

@Gozala
Copy link
Collaborator

Gozala commented Mar 28, 2023

You might want to thread this deeper

I wrote up a issue describing what I think would be an ideal solution well aligned with some other features in the pipeline.

but let me know if you want to merge as is and I'll write a test to fix the coverage.

That said I don't mind taking this as, I just would like to mark added authorities option @deprecated to signal that it will be replaced in the future when implementation per #268 is done.

@@ -386,6 +386,9 @@ export type InvocationError =
export interface InvocationContext extends ValidatorOptions {
id: Verifier

/** Additional authorities that may verify the invocation. */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/** Additional authorities that may verify the invocation. */
/**
* Additional authorities that may verify the invocation.
* @deprecated
*/

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.

None yet

2 participants