Class IdTokenCredentials.Builder (1.7.0)

public static class IdTokenCredentials.Builder extends OAuth2Credentials.Builder

Inheritance

java.lang.Object > OAuth2Credentials.Builder > IdTokenCredentials.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public IdTokenCredentials build()
Returns
TypeDescription
IdTokenCredentials
Overrides

getIdTokenProvider()

public IdTokenProvider getIdTokenProvider()
Returns
TypeDescription
IdTokenProvider

getOptions()

public List<IdTokenProvider.Option> getOptions()
Returns
TypeDescription
List<Option>

getTargetAudience()

public String getTargetAudience()
Returns
TypeDescription
String

setIdTokenProvider(IdTokenProvider idTokenProvider)

public IdTokenCredentials.Builder setIdTokenProvider(IdTokenProvider idTokenProvider)
Parameter
NameDescription
idTokenProviderIdTokenProvider
Returns
TypeDescription
IdTokenCredentials.Builder

setOptions(List<IdTokenProvider.Option> options)

public IdTokenCredentials.Builder setOptions(List<IdTokenProvider.Option> options)
Parameter
NameDescription
optionsList<Option>
Returns
TypeDescription
IdTokenCredentials.Builder

setTargetAudience(String targetAudience)

public IdTokenCredentials.Builder setTargetAudience(String targetAudience)
Parameter
NameDescription
targetAudienceString
Returns
TypeDescription
IdTokenCredentials.Builder