Raynes / tentacles

An Octocat is nothing without his tentacles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use (default) options for all calls

djui opened this issue · comments

I try to implement a small server application where I would like to use the 5000 requests/h rate-limit when using basic authentication or oauth. When testing, I get:

(tentacles.core/with-defaults {:client-id "foobar" :client-token "foobar"}
  (tentacles.core/rate-limit))

Thus, I assume e.g. tentacles.core/rate-limit ignores the authentication credentials, as described in the documentation?

If an API function has no options and authentication would have no uses for that particular call, the options map is not a parameter at all.

When providing :oauth-token it works. So this issue invalid.

Still wonder why client-id and client-token won't work.