Skip to content

Commit

Permalink
Deprecate the GoogleCredential and CloudShellCredential classes (#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 committed May 17, 2019
1 parent 1b03b44 commit 45825c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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

0 comments on commit 45825c4

Please sign in to comment.