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

Document 'default_url_params' with 'refresh_auth' #110

Open
andybak opened this issue May 16, 2016 · 1 comment
Open

Document 'default_url_params' with 'refresh_auth' #110

andybak opened this issue May 16, 2016 · 1 comment

Comments

@andybak
Copy link

andybak commented May 16, 2016

I am guessing that one can use default_url_params to globally specify refresh_auth=True on every request?

If so it would be great to document this explicitly.

(Incidentally - are there any published wrappers using refresh_auth that I can take a look at?)

@filipeximenes
Copy link
Contributor

filipeximenes commented May 16, 2016

default_url_params are only for filling parameters in the url. For example, if you have the following resources:
/{company_id}/employees/
/{company_id}/finace/

You can pass default_url_params={'company_id': '123'}, so you don't have to specify it on every request.

There's currently no way to set a default refresh_auth for every request. Although it might be a interesting idea.

This was implemented by @era, maybe he has some example on were he used it.

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

2 participants