Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

feat: defines internal utils for OAuth client Auth and error handling#594

Merged
busunkim96 merged 5 commits intogoogleapis:byoidfrom
bojeil-google:oauth-utils
Sep 3, 2020
Merged

feat: defines internal utils for OAuth client Auth and error handling#594
busunkim96 merged 5 commits intogoogleapis:byoidfrom
bojeil-google:oauth-utils

Conversation

@bojeil-google
Copy link
Copy Markdown
Contributor

This defines internal utilities to handle:

  • OAuth client authentication
  • Standard OAuth error response parsing into OAuthError exception.

This defines internal utilities to handle:
- OAuth client authentication
- Standard OAuth error response parsing into OAuthError exception.
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 28, 2020
@busunkim96 busunkim96 changed the base branch from master to byoid September 1, 2020 02:02
@busunkim96
Copy link
Copy Markdown
Contributor

@bojeil-google Base branch has been adjusted to byoid.

@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 1, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 1, 2020
@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 1, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 1, 2020
@busunkim96
Copy link
Copy Markdown
Contributor

@bojeil-google It may be helpful to join the org googleapis since you'll be working on a few PRs in this repo (and in other auth libs?) Kokoro CI won't run automatically for folks outside of the org because of security concerns.

Comment thread google/oauth2/utils.py Outdated
from google.auth import exceptions


def enum(**named_values):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok. I tried it out with the backport enum34 package . It seems to work locally.

Comment thread google/oauth2/utils.py Outdated
@busunkim96 busunkim96 merged commit 57f9922 into googleapis:byoid Sep 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants