-
Notifications
You must be signed in to change notification settings - Fork 55
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
Consolidate the sign API #665
Comments
I might be misunderstanding what you mean, but I don't think this is true -- the current That being said, I think it's a good idea to eliminate deep use of that
Yeah, we should figure out what this will look like -- I'm not very familiar with I think #628 will also be relevant there (but could be wrong). |
The example shows using |
Okay, I understand what you mean now -- you're talking about the I agree that should become a parameter on |
See #667 |
Done with #667 I believe. Please ping if I got this wrong! |
Description
The existing
sign()
takes a limited number of inputs, and it may be useful to have anoptions
input to add more flexible options. Example:SIGSTORE_OAUTH_FORCE_OOB
is currently an env variable which needs to be set prior to calling the API. Should it not be an input to the signing function instead?hashedrekord
, but this may change in the future to support intoto typesI wonder whether it'd make sense to consolidate the API.
The text was updated successfully, but these errors were encountered: