Skip to content

feat: add OnChallenge callback#148

Open
stevencartavia wants to merge 4 commits intotempoxyz:mainfrom
stevencartavia:on-challenge-callback
Open

feat: add OnChallenge callback#148
stevencartavia wants to merge 4 commits intotempoxyz:mainfrom
stevencartavia:on-challenge-callback

Conversation

@stevencartavia
Copy link
Copy Markdown
Contributor

Adds an OnChallenge callback to both the fetch and middleware payment paths, letting callers approve, supply a credential directly, or decline when a 402 is received.

@stevencartavia stevencartavia marked this pull request as ready for review March 24, 2026 18:06
Copy link
Copy Markdown
Contributor

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

ty, lgtm, pending one more review before merge

Copy link
Copy Markdown
Contributor

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

some api nits

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.

3 participants