Skip to content

Conversation

hiranya911
Copy link
Contributor

@hiranya911 hiranya911 commented Jul 10, 2017

credentials.Certificate() and credentials.RefreshToken() only accept file path arguments. This makes loading credentials in some environments (e.g. App Engine) challenging. To support loading credentials, when the configuration data is available as non-file resources, this patch modified the above constructors to accept either a file path or a parsed dict containing JSON data.

@hiranya911 hiranya911 assigned hiranya911 and unassigned bjornick Jul 19, 2017
@hiranya911 hiranya911 merged commit c6c3c8f into master Jul 19, 2017
@hiranya911 hiranya911 deleted the hkj-credential-api branch July 19, 2017 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants