Skip to content
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

Add jwt.Credentials.from_signing_credentials, remove serivce_account.Credentials.to_jwt_credentials #120

Merged
merged 2 commits into from
Feb 24, 2017

Conversation

theacodes
Copy link
Contributor

This change made possible by making Signing.signer public.


svc_creds = service_account.Credentials.from_service_account_file(
'service_account.json')
jwt_ceds = jwt.Credentials.from_signing_credentials(

This comment was marked as spam.

This comment was marked as spam.

'service_account.json')
jwt_ceds = jwt.Credentials.from_signing_credentials(
svc_creds,
audience='https://speech.googleapis.com')

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Feb 23, 2017

LGTM

@theacodes theacodes merged commit b8f48d0 into master Feb 24, 2017
@theacodes theacodes deleted the invert-to-jwt-credentials branch February 24, 2017 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants