Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Removing SignedJwtAssertionCredentials. #399

Closed

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Feb 5, 2016

This completes the consolidation of the two service account credentials implementations.

In the process, also adding test coverage for some untested code paths within the crypto helpers.

Fixes #211.

NOTE: Has #398 as diffbase.

Also
- changing the svc. acct. creds constructor to take a signer
- adding two factory constructors to build from a JSON keyfile
  (either by filename or already parsed)
- adding helpers to avoid re-loading file contents or re-parsing
  JSON when constructing svc. acct. creds from the main
  `client` module
This completes the consolidation of the two service
account credentials implementations.

In the process, also adding test coverage for some untested
code paths within the crypto helpers.
@nathanielmanistaatgoogle
Copy link
Contributor

Tell me about the Python2.6 failures in this?

@dhermes
Copy link
Contributor Author

dhermes commented Feb 5, 2016

Ah phooey! Needed to be unittest2 to use a context manager

@nathanielmanistaatgoogle
Copy link
Contributor

@dhermes
Copy link
Contributor Author

dhermes commented Feb 5, 2016

Can't really change it. You could merge as-is and send a fixup right after or you could fork this branch

@nathanielmanistaatgoogle
Copy link
Contributor

Superseded by #400.

@dhermes dhermes deleted the consolidate-service-accounts-v4 branch February 12, 2016 17:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants