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

Helpers for working on a bundle of macaroons #20

Open
btoews opened this issue Apr 15, 2024 · 0 comments
Open

Helpers for working on a bundle of macaroons #20

btoews opened this issue Apr 15, 2024 · 0 comments

Comments

@btoews
Copy link
Member

btoews commented Apr 15, 2024

These lines are repeated a lot

macaroon.Parse(...)
...

macaroon.FindPermissionAndDischargeTokens(....)
...

dischargeByTicket := ...

We should do a quick survey of the boilerplate steps we're repeating when starting with an authorization header and wanting to process the macaroons within. We should come up with an API for simplifying these.

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

No branches or pull requests

1 participant