This adds a configurable prefix URL for authentication.
I've also simplified the request methods in the base client. We don't really need get if it's only used in endpoint_get. We can also extend post_form to auth_post, which also prepends the auth URL for convenience, just like endpoint_get. Finally, I've renamed endpoint_get and similars to api_get for consistency and because it's clearer and much shorter.
Motivation and Context
See #350
Dependencies
None
Type of change
Please delete options that are not relevant.
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
How has this been tested?
I've modified the endpoint_url test, and added another one for auth_url.
Description
This adds a configurable prefix URL for authentication.
I've also simplified the request methods in the base client. We don't really need
get
if it's only used inendpoint_get
. We can also extendpost_form
toauth_post
, which also prepends the auth URL for convenience, just likeendpoint_get
. Finally, I've renamedendpoint_get
and similars toapi_get
for consistency and because it's clearer and much shorter.Motivation and Context
See #350
Dependencies
None
Type of change
Please delete options that are not relevant.
How has this been tested?
I've modified the
endpoint_url
test, and added another one forauth_url
.Is this change properly documented?
TODO