Package | Description |
---|---|
com.google.api.ads.common.lib.auth |
Modifier and Type | Method and Description |
---|---|
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder |
GoogleClientSecretsBuilder.forApi(GoogleClientSecretsBuilder.Api api)
Specifies which
GoogleClientSecretsBuilder.Api should this GoogleClientSecrets be
generated for. |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder.from(org.apache.commons.configuration.Configuration config)
Reads properties from the provided
Configuration object
Understands the following properties suffixes: clientId clientSecret For example, the AdWords OAuth2 client ID can be read from: api.adwords.clientId |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder.fromFile() |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder.fromFile(File path) |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder.fromFile(String path) |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder.fromFile(URL path) |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder |
GoogleClientSecretsBuilder.GoogleClientSecretsForApiBuilder.withClientSecrets(String clientId,
String clientSecret)
Sets the client ID & secret to create the OAuth2 Credential with.
|
Copyright © 2018. All Rights Reserved.