-
Notifications
You must be signed in to change notification settings - Fork 2
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: add authentication to /linkup/certificate*
endpoints
#168
feat: add authentication to /linkup/certificate*
endpoints
#168
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aw yeah lookin pretty good. I went of latest mockito and did a few mods to make it work with the cloudflare api module. Let's chat about what the best way forwards is.
// Namespace is not guarantee to exist on all bindings. It exists for type `kv_namespace`, but not for `plain_text`, for example. | ||
// This should probably be an enum over the possible types of bindings. Something like what we did on deploy/api.rs: | ||
// | ||
// #[derive(Debug, Clone)] | ||
// pub enum WorkerBinding { | ||
// KvNamespace { name: String, namespace_id: String }, | ||
// PlainText { name: String, text: String }, | ||
// SecretText { name: String, text: String }, | ||
// } | ||
// | ||
// pub namespace_id: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related changes:
Closes DO-1928