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