Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

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

Merged
theacodes merged 2 commits intomasterfrom
invert-to-jwt-credentials
Feb 24, 2017
Merged

Add jwt.Credentials.from_signing_credentials, remove serivce_account.Credentials.to_jwt_credentials#120
theacodes merged 2 commits intomasterfrom
invert-to-jwt-credentials

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants