Skip to content

Raise ValueError if credentials are not from google-auth - #2828

Merged
theacodes merged 21 commits into
googleapis:masterfrom
theacodes:google-auth-or-die
Dec 8, 2016
Merged

Raise ValueError if credentials are not from google-auth#2828
theacodes merged 21 commits into
googleapis:masterfrom
theacodes:google-auth-or-die

Conversation

@theacodes

Copy link
Copy Markdown
Contributor

Resolves#2814

@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 6, 2016
@theacodes

Copy link
Copy Markdown
ContributorAuthor

@dhermes PTAL - core only changes right now. Once you're cool with those I'll start fixing the unit tests for all other packages.

@dhermesdhermes left a comment

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.

Looks fine to me. What did you want me to see from this @jonparrott?



_GOOGLE_AUTH_CREDENTIALS_HELP = (
'This library only supports credentials from google-auth-library-python. '

This comment was marked as spam.

This comment was marked as spam.

def __init__(self, credentials=None, http=None):
if (credentials is not None and
not isinstance(
credentials, google.auth.credentials.Credentials)):

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@googlebot

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@googlebotgooglebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Dec 7, 2016
@dhermes

Copy link
Copy Markdown
Contributor

Seems CircleCI has given up on pull requests, I'd guess yesterday's outage b0rked something

@theacodes
theacodes merged commit c4aa9df into googleapis:masterDec 8, 2016
@theacodes
theacodes deleted the google-auth-or-die branch December 8, 2016 00:00
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

authcla: noThis human has *not* signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@theacodes@googlebot@dhermes@daspecster