public static class DownscopedCredentials.Builder extends OAuth2Credentials.Builder
Modifier and Type | Method and Description |
---|---|
DownscopedCredentials |
build() |
DownscopedCredentials.Builder |
setCredentialAccessBoundary(CredentialAccessBoundary credentialAccessBoundary) |
DownscopedCredentials.Builder |
setHttpTransportFactory(HttpTransportFactory transportFactory) |
DownscopedCredentials.Builder |
setSourceCredential(GoogleCredentials sourceCredential) |
getAccessToken, getExpirationMargin, getRefreshMargin, setAccessToken, setExpirationMargin, setRefreshMargin
public DownscopedCredentials.Builder setSourceCredential(GoogleCredentials sourceCredential)
public DownscopedCredentials.Builder setCredentialAccessBoundary(CredentialAccessBoundary credentialAccessBoundary)
public DownscopedCredentials.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
public DownscopedCredentials build()
build
in class OAuth2Credentials.Builder
Copyright © 2023 Google. All rights reserved.