Skip to content

Warn when using cloud sdk credentials #145

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

Merged
merged 9 commits into from
Jul 18, 2018

Conversation

TheRoyalTnetennba
Copy link
Contributor

A ruby version of the google-auth-library-python pr in response to this issue.

@TheRoyalTnetennba TheRoyalTnetennba requested a review from dazuma July 18, 2018 18:10
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 18, 2018
@coveralls
Copy link

coveralls commented Jul 18, 2018

Coverage Status

Coverage increased (+0.4%) to 98.904% when pulling 5d6653f on warn-on-cloud-sdk-credentials into 85808db on master.

@@ -63,13 +64,14 @@ class << self
# & secrets in source. See {#from_file} to load from
# `client_secrets.json` files.
def initialize(id, secret)
CredentialsLoader.warn_if_cloud_sdk_credentials(id)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

raise 'Client id can not be nil' if id.nil?
raise 'Client secret can not be nil' if secret.nil?
@id = id
@secret = secret
end

# Constructs a Client ID from a JSON file downloaed from the
# Constructs a Client ID from a JSON file downloaded from the

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants