File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
oauth2_http/java/com/google/auth/oauth2 Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ public class AwsCredentials extends ExternalAccountCredentials {
7373 static final String AWS_IMDSV2_SESSION_TOKEN_HEADER = "x-aws-ec2-metadata-token" ;
7474 static final String AWS_IMDSV2_SESSION_TOKEN_TTL_HEADER = "x-aws-ec2-metadata-token-ttl-seconds" ;
7575 static final String AWS_IMDSV2_SESSION_TOKEN_TTL = "300" ;
76+ private static final long serialVersionUID = -3670131891574618105L ;
7677
7778 /**
7879 * The AWS credential source. Stores data required to retrieve the AWS credential from the AWS
@@ -81,6 +82,7 @@ public class AwsCredentials extends ExternalAccountCredentials {
8182 static class AwsCredentialSource extends CredentialSource {
8283
8384 private static final String IMDSV2_SESSION_TOKEN_URL_FIELD_NAME = "imdsv2_session_token_url" ;
85+ private static final long serialVersionUID = -4180558200808134436L ;
8486
8587 private final String regionUrl ;
8688 private final String url ;
Original file line number Diff line number Diff line change 6363 */
6464public class IdentityPoolCredentials extends ExternalAccountCredentials {
6565
66+ private static final long serialVersionUID = 2471046175477275881L ;
67+
6668 /**
6769 * The IdentityPool credential source. Dictates the retrieval method of the external credential,
6870 * which can either be through a metadata server or a local file.
6971 */
7072 static class IdentityPoolCredentialSource extends ExternalAccountCredentials .CredentialSource {
7173
74+ private static final long serialVersionUID = -745855247050085694L ;
75+
7276 enum IdentityPoolCredentialSourceType {
7377 FILE ,
7478 URL
You can’t perform that action at this time.
0 commit comments