public static class IdTokenCredentials.Builder extends OAuth2Credentials.Builder
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
IdTokenCredentials |
build() |
IdTokenProvider |
getIdTokenProvider() |
List<IdTokenProvider.Option> |
getOptions() |
String |
getTargetAudience() |
IdTokenCredentials.Builder |
setIdTokenProvider(IdTokenProvider idTokenProvider) |
IdTokenCredentials.Builder |
setOptions(List<IdTokenProvider.Option> options) |
IdTokenCredentials.Builder |
setTargetAudience(String targetAudience) |
getAccessToken, getExpirationMargin, getRefreshMargin, setAccessToken, setExpirationMargin, setRefreshMargin
public IdTokenCredentials.Builder setIdTokenProvider(IdTokenProvider idTokenProvider)
public IdTokenProvider getIdTokenProvider()
public IdTokenCredentials.Builder setTargetAudience(String targetAudience)
public String getTargetAudience()
public IdTokenCredentials.Builder setOptions(List<IdTokenProvider.Option> options)
public List<IdTokenProvider.Option> getOptions()
public IdTokenCredentials build()
build
in class OAuth2Credentials.Builder
Copyright © 2023 Google. All rights reserved.