public static class ExternalAccountAuthorizedUserCredentials.Builder extends GoogleCredentials.Builder
ExternalAccountAuthorizedUserCredentials.quotaProjectId, universeDomain| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(ExternalAccountAuthorizedUserCredentials credentials) |
getQuotaProjectId, getUniverseDomaingetAccessToken, getExpirationMargin, getRefreshMargin, setExpirationMargin, setRefreshMarginprotected Builder()
protected Builder(ExternalAccountAuthorizedUserCredentials credentials)
@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
transportFactory - the HttpTransportFactory to setBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setAudience(String audience)
audience - the audience to setBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setTokenUrl(String tokenUrl)
tokenUrl - the token exchange url to setBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setTokenInfoUrl(String tokenInfoUrl)
tokenInfoUrl - the token info url to setBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setRevokeUrl(String revokeUrl)
revokeUrl - the revoke url to setBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setRefreshToken(String refreshToken)
refreshToken - the refresh tokenBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setClientId(String clientId)
clientId - the client IDBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setClientSecret(String clientSecret)
clientSecret - the client secretBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setQuotaProjectId(String quotaProjectId)
setQuotaProjectId in class GoogleCredentials.BuilderquotaProjectId - the quota and billing project id to setBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setAccessToken(AccessToken accessToken)
setAccessToken in class GoogleCredentials.BuilderaccessToken - the access tokenBuilder object@CanIgnoreReturnValue public ExternalAccountAuthorizedUserCredentials.Builder setUniverseDomain(String universeDomain)
setUniverseDomain in class GoogleCredentials.BuilderuniverseDomain - the universe domain to setBuilder objectpublic ExternalAccountAuthorizedUserCredentials build()
build in class GoogleCredentials.BuilderCopyright © 2026 Google. All rights reserved.