Constant Field Values
Contents
com.google.*
-
com.google.auth.ApiKeyCredentials Modifier and Type Constant Field Value static final java.lang.String
API_KEY_HEADER_KEY
"x-goog-api-key"
-
com.google.auth.Credentials Modifier and Type Constant Field Value public static final java.lang.String
GOOGLE_DEFAULT_UNIVERSE
"googleapis.com"
private static final long
serialVersionUID
808575179767517313L
-
com.google.auth.ServiceAccountSigner.SigningException Modifier and Type Constant Field Value private static final long
serialVersionUID
-6503954300538947223L
-
com.google.auth.http.AuthHttpConstants Modifier and Type Constant Field Value public static final java.lang.String
AUTHORIZATION
"Authorization"
public static final java.lang.String
BEARER
"Bearer"
-
com.google.auth.http.com.google.auth.http.InternalAuthHttpConstants Modifier and Type Constant Field Value static final java.lang.String
BEARER_PREFIX
"Bearer "
-
com.google.auth.oauth2.AccessToken Modifier and Type Constant Field Value private static final long
serialVersionUID
-8514239465808977353L
-
com.google.auth.oauth2.com.google.auth.oauth2.AppEngineCredentials Modifier and Type Constant Field Value static final java.lang.String
APP_IDENTITY_SERVICE_CLASS
"com.google.appengine.api.appidentity.AppIdentityService"
static final java.lang.String
APP_IDENTITY_SERVICE_FACTORY_CLASS
"com.google.appengine.api.appidentity.AppIdentityServiceFactory"
private static final java.lang.String
GET_ACCESS_TOKEN_METHOD
"getAccessToken"
static final java.lang.String
GET_ACCESS_TOKEN_RESULT_CLASS
"com.google.appengine.api.appidentity.AppIdentityService$GetAccessTokenResult"
private static final java.lang.String
GET_ACCESS_TOKEN_RESULT_METHOD
"getAccessToken"
private static final java.lang.String
GET_APP_IDENTITY_SERVICE_METHOD
"getAppIdentityService"
private static final java.lang.String
GET_EXPIRATION_TIME_METHOD
"getExpirationTime"
private static final java.lang.String
GET_SERVICE_ACCOUNT_NAME_METHOD
"getServiceAccountName"
private static final java.lang.String
GET_SIGNATURE_METHOD
"getSignature"
private static final long
serialVersionUID
-493219027336622194L
private static final java.lang.String
SIGN_FOR_APP_METHOD
"signForApp"
static final java.lang.String
SIGNING_RESULT_CLASS
"com.google.appengine.api.appidentity.AppIdentityService$SigningResult"
-
com.google.auth.oauth2.com.google.auth.oauth2.AutoValue_JwtClaims Modifier and Type Constant Field Value private static final long
serialVersionUID
4974444151019426702L
-
com.google.auth.oauth2.AwsCredentials Modifier and Type Constant Field Value static final java.lang.String
AWS_METRICS_HEADER_VALUE
"aws"
static final java.lang.String
DEFAULT_REGIONAL_CREDENTIAL_VERIFICATION_URL
"https://sts.{region}.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15"
private static final long
serialVersionUID
-3670131891574618105L
-
com.google.auth.oauth2.AwsCredentialSource Modifier and Type Constant Field Value static final java.lang.String
IMDSV2_SESSION_TOKEN_URL_FIELD_NAME
"imdsv2_session_token_url"
static final long
serialVersionUID
-4180558200808134436L
-
com.google.auth.oauth2.com.google.auth.oauth2.AwsDates Modifier and Type Constant Field Value private static final java.lang.String
HTTP_DATE_FORMAT
"E, dd MMM yyyy HH:mm:ss z"
private static final java.lang.String
X_AMZ_DATE_FORMAT
"yyyyMMdd\'T\'HHmmss\'Z\'"
-
com.google.auth.oauth2.com.google.auth.oauth2.AwsRequestSigner Modifier and Type Constant Field Value private static final java.lang.String
AWS_REQUEST_TYPE
"aws4_request"
private static final java.lang.String
HASHING_ALGORITHM
"AWS4-HMAC-SHA256"
-
com.google.auth.oauth2.ClientId Modifier and Type Constant Field Value private static final java.lang.String
FIELD_CLIENT_ID
"client_id"
private static final java.lang.String
FIELD_CLIENT_SECRET
"client_secret"
private static final java.lang.String
FIELD_TYPE_INSTALLED
"installed"
private static final java.lang.String
FIELD_TYPE_WEB
"web"
private static final java.lang.String
JSON_PARSE_ERROR
"Error parsing Client ID JSON: "
-
com.google.auth.oauth2.CloudShellCredentials Modifier and Type Constant Field Value private static final int
ACCESS_TOKEN_INDEX
2
protected static final java.lang.String
GET_AUTH_TOKEN_REQUEST
"2\n[]"
private static final int
READ_TIMEOUT_MS
5000
private static final long
serialVersionUID
-2133257318957488451L
-
com.google.auth.oauth2.ComputeEngineCredentials Modifier and Type Constant Field Value static final int
COMPUTE_PING_CONNECTION_TIMEOUT_MS
500
static final java.lang.String
DEFAULT_METADATA_SERVER_URL
"http://metadata.google.internal"
private static final java.lang.String
GOOGLE
"Google"
private static final java.lang.String
LINUX
"linux"
static final int
MAX_COMPUTE_PING_TRIES
3
private static final java.lang.String
METADATA_FLAVOR
"Metadata-Flavor"
private static final java.lang.String
PARSE_ERROR_ACCOUNT
"Error parsing service account response. "
private static final java.lang.String
PARSE_ERROR_PREFIX
"Error parsing token refresh response. "
private static final long
serialVersionUID
-4113476462526554235L
static final java.lang.String
SIGN_BLOB_URL_FORMAT
"https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/%s:signBlob"
private static final java.lang.String
WINDOWS
"windows"
-
com.google.auth.oauth2.CredentialAccessBoundary Modifier and Type Constant Field Value private static final int
RULES_SIZE_LIMIT
10
-
com.google.auth.oauth2.com.google.auth.oauth2.DefaultCredentialsProvider Modifier and Type Constant Field Value static final java.lang.String
APP_ENGINE_SIGNAL_CLASS
"com.google.appengine.api.utils.SystemProperty"
static final java.lang.String
CLOUD_SHELL_ENV_VAR
"DEVSHELL_CLIENT_PORT"
static final java.lang.String
CLOUDSDK_CLIENT_ID
"764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com"
static final java.lang.String
CLOUDSDK_CONFIG_DIRECTORY
"gcloud"
static final java.lang.String
CLOUDSDK_CREDENTIALS_WARNING
"You are authenticating using user credentials. For production, we recommend using service account credentials.\n\nTo learn more about service account credentials, see http://cloud.google.com/docs/authentication/external/set-up-adc-on-cloud"
static final java.lang.String
CLOUDSDK_MISSING_CREDENTIALS
"Your default credentials were not found. To set up Application Default Credentials for your environment, see https://cloud.google.com/docs/authentication/external/set-up-adc."
static final java.lang.String
CREDENTIAL_ENV_VAR
"GOOGLE_APPLICATION_CREDENTIALS"
static final java.lang.String
GCE_METADATA_HOST_ENV_VAR
"GCE_METADATA_HOST"
static final java.lang.String
NO_GCE_CHECK_ENV_VAR
"NO_GCE_CHECK"
static final java.lang.String
QUOTA_PROJECT_ENV_VAR
"GOOGLE_CLOUD_QUOTA_PROJECT"
static final java.lang.String
SKIP_APP_ENGINE_ENV_VAR
"GOOGLE_APPLICATION_CREDENTIALS_SKIP_APP_ENGINE"
public static final java.lang.String
SUPPRESS_GCLOUD_CREDS_WARNING_ENV_VAR
"SUPPRESS_GCLOUD_CREDS_WARNING"
static final java.lang.String
WELL_KNOWN_CREDENTIALS_FILE
"application_default_credentials.json"
-
com.google.auth.oauth2.DefaultPKCEProvider Modifier and Type Constant Field Value private static final int
MAX_CODE_VERIFIER_LENGTH
127
-
com.google.auth.oauth2.DownscopedCredentials Modifier and Type Constant Field Value private final java.lang.String
TOKEN_EXCHANGE_URL_FORMAT
"https://sts.{universe_domain}/v1/token"
-
com.google.auth.oauth2.com.google.auth.oauth2.ExecutableResponse Modifier and Type Constant Field Value private static final java.lang.String
SAML_SUBJECT_TOKEN_TYPE
"urn:ietf:params:oauth:token-type:saml2"
-
com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials Modifier and Type Constant Field Value static final java.lang.String
EXTERNAL_ACCOUNT_AUTHORIZED_USER_FILE_TYPE
"external_account_authorized_user"
private static final java.lang.String
PARSE_ERROR_PREFIX
"Error parsing token refresh response. "
private static final long
serialVersionUID
-2181779590486283287L
-
com.google.auth.oauth2.ExternalAccountCredentials Modifier and Type Constant Field Value private static final java.lang.String
CLOUD_PLATFORM_SCOPE
"https://www.googleapis.com/auth/cloud-platform"
static final java.lang.String
DEFAULT_TOKEN_URL
"https://sts.{UNIVERSE_DOMAIN}/v1/token"
static final java.lang.String
EXECUTABLE_SOURCE_KEY
"executable"
static final java.lang.String
EXTERNAL_ACCOUNT_FILE_TYPE
"external_account"
static final java.lang.String
PROGRAMMATIC_METRICS_HEADER_VALUE
"programmatic"
private static final long
serialVersionUID
8049126194174465023L
-
com.google.auth.oauth2.com.google.auth.oauth2.ExternalAccountCredentials.CredentialSource Modifier and Type Constant Field Value private static final long
serialVersionUID
8204657811562399944L
-
com.google.auth.oauth2.com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions Modifier and Type Constant Field Value private static final int
DEFAULT_TOKEN_LIFETIME_SECONDS
3600
private static final int
MAXIMUM_TOKEN_LIFETIME_SECONDS
43200
private static final int
MINIMUM_TOKEN_LIFETIME_SECONDS
600
private static final long
serialVersionUID
4250771921886280953L
private static final java.lang.String
TOKEN_LIFETIME_SECONDS_KEY
"token_lifetime_seconds"
-
com.google.auth.oauth2.com.google.auth.oauth2.ExternalAccountMetricsHandler Modifier and Type Constant Field Value private static final java.lang.String
BYOID_METRICS_SECTION
"google-byoid-sdk"
private static final java.lang.String
CONFIG_LIFETIME_KEY
"config-lifetime"
private static final java.lang.String
IMPERSONATION_KEY
"sa-impersonation"
private static final java.lang.String
SOURCE_KEY
"source"
-
com.google.auth.oauth2.ExternalAccountSupplierContext Modifier and Type Constant Field Value private static final long
serialVersionUID
-7852130853542313494L
-
com.google.auth.oauth2.com.google.auth.oauth2.FileIdentityPoolSubjectTokenSupplier Modifier and Type Constant Field Value private final long
serialVersionUID
2475549052347431992L
-
com.google.auth.oauth2.GdchCredentials Modifier and Type Constant Field Value private static final int
DEFAULT_LIFETIME_IN_SECONDS
3600
private static final java.lang.String
PARSE_ERROR_PREFIX
"Error parsing token refresh response. "
static final java.lang.String
SUPPORTED_FORMAT_VERSION
"1"
-
com.google.auth.oauth2.GoogleCredentials Modifier and Type Constant Field Value static final java.lang.String
GDCH_SERVICE_ACCOUNT_FILE_TYPE
"gdch_service_account"
static final java.lang.String
QUOTA_PROJECT_ID_HEADER_KEY
"x-goog-user-project"
private static final long
serialVersionUID
-1522852442442473691L
static final java.lang.String
SERVICE_ACCOUNT_FILE_TYPE
"service_account"
static final java.lang.String
USER_FILE_TYPE
"authorized_user"
-
com.google.auth.oauth2.com.google.auth.oauth2.IamUtils Modifier and Type Constant Field Value private static final java.lang.String
ID_TOKEN_URL_FORMAT
"https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/%s:generateIdToken"
private static final java.lang.String
PARSE_ERROR_MESSAGE
"Error parsing error message response. "
private static final java.lang.String
PARSE_ERROR_SIGNATURE
"Error parsing signature response. "
private static final java.lang.String
SIGN_BLOB_URL_FORMAT
"https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/%s:signBlob"
-
com.google.auth.oauth2.IdentityPoolCredentials Modifier and Type Constant Field Value static final java.lang.String
FILE_METRICS_HEADER_VALUE
"file"
private static final long
serialVersionUID
2471046175477275881L
static final java.lang.String
URL_METRICS_HEADER_VALUE
"url"
-
com.google.auth.oauth2.IdentityPoolCredentialSource Modifier and Type Constant Field Value private static final long
serialVersionUID
-745855247050085694L
-
com.google.auth.oauth2.IdToken Modifier and Type Constant Field Value private static final long
serialVersionUID
-8514239465808977353L
-
com.google.auth.oauth2.IdTokenCredentials Modifier and Type Constant Field Value private static final long
serialVersionUID
-2133257318957588431L
-
com.google.auth.oauth2.ImpersonatedCredentials Modifier and Type Constant Field Value private static final java.lang.String
CLOUD_PLATFORM_SCOPE
"https://www.googleapis.com/auth/cloud-platform"
private static final int
DEFAULT_LIFETIME_IN_SECONDS
3600
static final java.lang.String
IMPERSONATED_CREDENTIALS_FILE_TYPE
"impersonated_service_account"
private static final java.lang.String
RFC3339
"yyyy-MM-dd\'T\'HH:mm:ssX"
private static final long
serialVersionUID
-2133257318957488431L
private static final int
TWELVE_HOURS_IN_SECONDS
43200
-
com.google.auth.oauth2.com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier Modifier and Type Constant Field Value static final java.lang.String
AWS_ACCESS_KEY_ID
"AWS_ACCESS_KEY_ID"
static final java.lang.String
AWS_DEFAULT_REGION
"AWS_DEFAULT_REGION"
static final java.lang.String
AWS_IMDSV2_SESSION_TOKEN_HEADER
"x-aws-ec2-metadata-token"
static final java.lang.String
AWS_IMDSV2_SESSION_TOKEN_TTL
"300"
static final java.lang.String
AWS_IMDSV2_SESSION_TOKEN_TTL_HEADER
"x-aws-ec2-metadata-token-ttl-seconds"
static final java.lang.String
AWS_REGION
"AWS_REGION"
static final java.lang.String
AWS_SECRET_ACCESS_KEY
"AWS_SECRET_ACCESS_KEY"
static final java.lang.String
AWS_SESSION_TOKEN
"AWS_SESSION_TOKEN"
private static final long
serialVersionUID
4438370785261365013L
-
com.google.auth.oauth2.JwtClaims Modifier and Type Constant Field Value private static final long
serialVersionUID
4974444151019426702L
-
com.google.auth.oauth2.JwtCredentials Modifier and Type Constant Field Value private static final java.lang.String
JWT_ACCESS_PREFIX
"Bearer "
private static final java.lang.String
JWT_INCOMPLETE_ERROR_MESSAGE
"JWT claims must contain audience, issuer, and subject."
-
com.google.auth.oauth2.com.google.auth.oauth2.MetricsUtils Modifier and Type Constant Field Value static final java.lang.String
API_CLIENT_HEADER
"x-goog-api-client"
static final java.lang.String
AUTH_REQUEST_TYPE
"auth-request-type"
static final java.lang.String
CRED_TYPE
"cred-type"
-
com.google.auth.oauth2.OAuth2Credentials Modifier and Type Constant Field Value private static final long
serialVersionUID
4556936364828217687L
-
com.google.auth.oauth2.com.google.auth.oauth2.OAuth2Utils Modifier and Type Constant Field Value static final java.lang.String
BEARER_PREFIX
"Bearer "
static final int
DEFAULT_NUMBER_OF_RETRIES
3
static final java.lang.String
GRANT_TYPE_JWT_BEARER
"urn:ietf:params:oauth:grant-type:jwt-bearer"
static final java.lang.String
IAM_ACCESS_TOKEN_ENDPOINT_FORMAT
"https://iamcredentials.%s/v1/projects/-/serviceAccounts/%s:generateAccessToken"
static final java.lang.String
IAM_ID_TOKEN_ENDPOINT_FORMAT
"https://iamcredentials.%s/v1/projects/-/serviceAccounts/%s:generateIdToken"
static final int
INITIAL_RETRY_INTERVAL_MILLIS
1000
static final double
RETRY_MULTIPLIER
2.0
static final double
RETRY_RANDOMIZATION_FACTOR
0.1
static final java.lang.String
SIGN_BLOB_ENDPOINT_FORMAT
"https://iamcredentials.%s/v1/projects/-/serviceAccounts/%s:signBlob"
static final java.lang.String
SIGNATURE_ALGORITHM
"SHA256withRSA"
static final java.lang.String
TOKEN_RESPONSE_SCOPE
"scope"
static final java.lang.String
TOKEN_TYPE_ACCESS_TOKEN
"urn:ietf:params:oauth:token-type:access_token"
static final java.lang.String
TOKEN_TYPE_TOKEN_EXCHANGE
"urn:ietf:params:oauth:token-type:token-exchange"
-
com.google.auth.oauth2.PluggableAuthCredentials Modifier and Type Constant Field Value static final java.lang.String
PLUGGABLE_AUTH_METRICS_HEADER_VALUE
"executable"
-
com.google.auth.oauth2.PluggableAuthCredentialSource Modifier and Type Constant Field Value static final java.lang.String
COMMAND_KEY
"command"
static final int
DEFAULT_EXECUTABLE_TIMEOUT_MS
30000
static final int
MAXIMUM_EXECUTABLE_TIMEOUT_MS
120000
static final int
MINIMUM_EXECUTABLE_TIMEOUT_MS
5000
static final java.lang.String
OUTPUT_FILE_KEY
"output_file"
static final java.lang.String
TIMEOUT_MILLIS_KEY
"timeout_millis"
-
com.google.auth.oauth2.com.google.auth.oauth2.PluggableAuthHandler Modifier and Type Constant Field Value private static final int
EXECUTABLE_SUPPORTED_MAX_VERSION
1
private static final int
EXIT_CODE_SUCCESS
0
private static final java.lang.String
GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES
"GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES"
-
com.google.auth.oauth2.SecureSessionAgent Modifier and Type Constant Field Value static final java.lang.String
GOOGLE
"Google"
static final java.lang.String
METADATA_FLAVOR
"Metadata-Flavor"
private static final java.lang.String
PARSE_ERROR_S2A
"Error parsing S2A Config from MDS JSON response."
static final java.lang.String
S2A_CONFIG_ENDPOINT_POSTFIX
"/computeMetadata/v1/instance/platform-security/auto-mtls-configuration"
static final java.lang.String
S2A_MTLS_ADDRESS_JSON_KEY
"mtls_address"
static final java.lang.String
S2A_PLAINTEXT_ADDRESS_JSON_KEY
"plaintext_address"
-
com.google.auth.oauth2.ServiceAccountCredentials Modifier and Type Constant Field Value private static final int
DEFAULT_LIFETIME_IN_SECONDS
3600
private static final java.lang.String
GRANT_TYPE
"urn:ietf:params:oauth:grant-type:jwt-bearer"
private static final java.lang.String
PARSE_ERROR_PREFIX
"Error parsing token refresh response. "
private static final long
serialVersionUID
7807543542681217978L
private static final int
TWELVE_HOURS_IN_SECONDS
43200
-
com.google.auth.oauth2.ServiceAccountJwtAccessCredentials Modifier and Type Constant Field Value static final java.lang.String
JWT_ACCESS_PREFIX
"Bearer "
private static final long
serialVersionUID
-7274955171379494197L
-
com.google.auth.oauth2.com.google.auth.oauth2.StsRequestHandler Modifier and Type Constant Field Value private static final java.lang.String
PARSE_ERROR_PREFIX
"Error parsing token response."
private static final java.lang.String
TOKEN_EXCHANGE_GRANT_TYPE
"urn:ietf:params:oauth:grant-type:token-exchange"
-
com.google.auth.oauth2.com.google.auth.oauth2.StsTokenExchangeRequest Modifier and Type Constant Field Value private static final java.lang.String
GRANT_TYPE
"urn:ietf:params:oauth:grant-type:token-exchange"
-
com.google.auth.oauth2.com.google.auth.oauth2.SystemEnvironmentProvider Modifier and Type Constant Field Value private static final long
serialVersionUID
-4698164985883575244L
-
com.google.auth.oauth2.TokenVerifier Modifier and Type Constant Field Value private static final java.lang.String
FEDERATED_SIGNON_CERT_URL
"https://www.googleapis.com/oauth2/v3/certs"
private static final java.lang.String
IAP_CERT_URL
"https://www.gstatic.com/iap/verify/public_key-jwk"
-
com.google.auth.oauth2.com.google.auth.oauth2.TokenVerifier.PublicKeyLoader Modifier and Type Constant Field Value private static final int
DEFAULT_NUMBER_OF_RETRIES
2
-
com.google.auth.oauth2.com.google.auth.oauth2.UrlIdentityPoolSubjectTokenSupplier Modifier and Type Constant Field Value private static final long
serialVersionUID
4964578313468011844L
-
com.google.auth.oauth2.UserAuthorizer Modifier and Type Constant Field Value private final java.lang.String
FETCH_TOKEN_ERROR
"Error reading result of Token API:"
private final java.lang.String
TOKEN_STORE_ERROR
"Error parsing stored token data."
-
com.google.auth.oauth2.UserCredentials Modifier and Type Constant Field Value private static final java.lang.String
GRANT_TYPE
"refresh_token"
private static final java.lang.String
PARSE_ERROR_PREFIX
"Error parsing token refresh response. "
private static final long
serialVersionUID
-4800758775038679176L