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

Deprecate the GoogleCredential and CloudShellCredential classes #1258

Merged
merged 1 commit into from
May 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
* OAuth2 credentials representing the built-in service account for Google Cloud Shell.
*
* @since 1.21.0
* @deprecated Please use <a href="https://github.com/googleapis/google-auth-library-java">
* google-auth-library</a> for handling authentication and authorization from Cloud Shell.
*/
@Deprecated
public class CloudShellCredential extends GoogleCredential {

private static final int ACCESS_TOKEN_INDEX = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,11 @@ public static GoogleCredential createCredentialForServiceAccountImpersonateUser(
*
* @since 1.7
* @author Yaniv Inbar
* @deprecated Please use <a href="https://github.com/googleapis/google-auth-library-java">
* google-auth-library</a> for handling Application Default Credentials and other non-OAuth2
* based authentication.
*/
@Deprecated
public class GoogleCredential extends Credential {

static final String USER_FILE_TYPE = "authorized_user";
Expand Down