-
Notifications
You must be signed in to change notification settings - Fork 56
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
get_bearer_token and refresh should return the parsed JSON response. #15
Comments
Thanks @dreid. I'll see about returning the JSON response. |
@dreid We are opening up our clients for contribution for hacktoberfest. |
Hi @b4thestorm - This is the expected behavior with get_bearer_token making the request : |
Currently these only set the values in the json response as attributes of the AuthClient this makes it difficult to know which attributes will be available when, for instance,
get_bearer_token
setsrealm_id
butrefresh
doesn't.We want results of talking to AuthClient to be able to participate in our strict runtime type checking which involves converting a primitive python type into an attrs dataclass. Having to construct this dictionary out of the AuthClient before we can do that is annoying and error prone.
The text was updated successfully, but these errors were encountered: