Adding support for `x-include-refresh-token-hard-expires-in`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- authentication
Research direction
Start with intuitlib.client.AuthClient and inspect the refresh and get_bearer_token methods described in the issue. Compare their existing parameters and response handling with the requested include_refresh_token_hard_expires_in option; done means the option adds the required header and exposes the returned value through x_refresh_token_hard_expires_in.
Written by the indexing model from the issue text.
Description
Hello!
I have built a wrapper around intuitlib.client.AuthClient that subclasses both refresh and get_bearer_token with adding a new param include_refresh_token_hard_expires_in=False. When set to True is adds the necessary header field. It also adds self.x_refresh_token_hard_expires_in = None to the init.
Would you be open to a pull request to get this into the official version? I see in the blog it's coming soon. Not sure if that means it's already in the works or not.
Thanks.
- Dominant language
- Python
- Stars
- 86
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from intuit/oauth-pythonclient
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
intuit/oauth-pythonclient#52 ·
-
input Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
intuit/oauth-pythonclient#55 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
intuit/oauth-pythonclient#47 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
intuit/oauth-pythonclient#38 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
intuit/oauth-pythonclient#37 · 1 comment ·
All issues in intuit/oauth-pythonclient
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
learningequality/ricecooker#747 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
run-llama/llama_index#23199 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
KhronosGroup/glTF-Blender-IO#2769 ·