Skip to content

Updated client.py & query.py to use rest-1.oauth.v1 when access tokens are used to authenticate with the versionOne server #45

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DJ-BBot
Copy link

@DJ-BBot DJ-BBot commented Feb 12, 2022

Updated client.py to use oauth when Granted access tokens are used to connect to the versioneone server.
Modified methods: get_asset_xml; get_query_xml; execute_operation;
get_attr; create_asset; and update_asset

Updated query.py to accept a token_flag which indicates that the user is
using Access token authentication as opposed to user/pw credential
management. Also modified run_single_query method to check the token
param in the V1Query object to determine if it should use oauth in the
URL path for the query.

connect to the versioneone server.
Modified methods: get_asset_xml; get_query_xml; execute_operation;
get_attr; create_asset; and update_asset

Updated query.py to accept a token_flag which indicates that the user is
using Access token authentication as opposed to user/pw credential
management. Also modified run_single_query method to check the token
param in the V1Query object to determine if it should use oauth in the
URL path for the query.
@DJ-BBot DJ-BBot closed this Feb 12, 2022
@DJ-BBot DJ-BBot reopened this Feb 12, 2022
Copy link
Author

@DJ-BBot DJ-BBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files have been updated to use oauth when Application Access Tokens are used from V1

@DJ-BBot
Copy link
Author

DJ-BBot commented Feb 2, 2023

Fixes issue #47

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

Successfully merging this pull request may close these issues.

1 participant