We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is needed for google-auth-library-java and googleapis/google-api-java-client#1037 (creating an issue for both projects):
google-auth-library-java
User's current way:
GoogleCredential googleCredential = new GoogleCredential.Builder() .setTransport(TRANSPORT).setJsonFactory(JSON_FACTORY) .setServiceAccountId(emailAddress) .setServiceAccountPrivateKeyFromP12File(p12File) .setServiceAccountScopes(scopes) .setServiceAccountUser(user).build();
Would like: to do:
GoogleCredential googleCredential = GoogleCredential.fromStream(jsonInputStream, TRANSPORT, JSON_FACTORY).createScoped(Collections.singleton(Oauth2Scopes.USERINFO_EMAIL))
Python you just do:
credentials = credentials.create_delegated(user)
The text was updated successfully, but these errors were encountered:
@vchudnov-g should this be closed?
Sorry, something went wrong.
yoshi-automation
No branches or pull requests
This is needed for
google-auth-library-java
and googleapis/google-api-java-client#1037 (creating an issue for both projects):User's current way:
Would like: to do:
Python you just do:
The text was updated successfully, but these errors were encountered: