ServiceAccountCredentials |
ServiceAccountCredentials.Builder.build() |
|
ServiceAccountCredentials |
ServiceAccountCredentials.createWithCustomLifetime(int lifetime) |
Clones the service account with a new lifetime value.
|
ServiceAccountCredentials |
ServiceAccountCredentials.createWithCustomRetryStrategy(boolean defaultRetriesEnabled) |
Clones the service account with the specified default retries.
|
ServiceAccountCredentials |
ServiceAccountCredentials.createWithUseJwtAccessWithScope(boolean useJwtAccessWithScope) |
Clones the service account with a new useJwtAccessWithScope value.
|
(package private) static ServiceAccountCredentials |
ServiceAccountCredentials.fromJson(java.util.Map<java.lang.String,java.lang.Object> json,
HttpTransportFactory transportFactory) |
Returns service account credentials defined by JSON using the format supported by the Google
Developers Console.
|
(package private) static ServiceAccountCredentials |
ServiceAccountCredentials.fromPkcs8(java.lang.String privateKeyPkcs8,
ServiceAccountCredentials.Builder builder) |
Internal constructor
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromPkcs8(java.lang.String clientId,
java.lang.String clientEmail,
java.lang.String privateKeyPkcs8,
java.lang.String privateKeyId,
java.util.Collection<java.lang.String> scopes) |
Factory with minimum identifying information using PKCS#8 for the private key.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromPkcs8(java.lang.String clientId,
java.lang.String clientEmail,
java.lang.String privateKeyPkcs8,
java.lang.String privateKeyId,
java.util.Collection<java.lang.String> scopes,
HttpTransportFactory transportFactory,
java.net.URI tokenServerUri) |
Factory with minimum identifying information and custom transport using PKCS#8 for the private
key.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromPkcs8(java.lang.String clientId,
java.lang.String clientEmail,
java.lang.String privateKeyPkcs8,
java.lang.String privateKeyId,
java.util.Collection<java.lang.String> scopes,
HttpTransportFactory transportFactory,
java.net.URI tokenServerUri,
java.lang.String serviceAccountUser) |
Factory with minimum identifying information and custom transport using PKCS#8 for the private
key.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromPkcs8(java.lang.String clientId,
java.lang.String clientEmail,
java.lang.String privateKeyPkcs8,
java.lang.String privateKeyId,
java.util.Collection<java.lang.String> scopes,
java.util.Collection<java.lang.String> defaultScopes) |
Factory with minimum identifying information using PKCS#8 for the private key.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromPkcs8(java.lang.String clientId,
java.lang.String clientEmail,
java.lang.String privateKeyPkcs8,
java.lang.String privateKeyId,
java.util.Collection<java.lang.String> scopes,
java.util.Collection<java.lang.String> defaultScopes,
HttpTransportFactory transportFactory,
java.net.URI tokenServerUri) |
Factory with minimum identifying information and custom transport using PKCS#8 for the private
key.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromPkcs8(java.lang.String clientId,
java.lang.String clientEmail,
java.lang.String privateKeyPkcs8,
java.lang.String privateKeyId,
java.util.Collection<java.lang.String> scopes,
java.util.Collection<java.lang.String> defaultScopes,
HttpTransportFactory transportFactory,
java.net.URI tokenServerUri,
java.lang.String serviceAccountUser) |
Factory with minimum identifying information and custom transport using PKCS#8 for the private
key.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromStream(java.io.InputStream credentialsStream) |
Returns credentials defined by a Service Account key file in JSON format from the Google
Developers Console.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromStream(java.io.InputStream credentialsStream,
HttpTransportFactory transportFactory) |
Returns credentials defined by a Service Account key file in JSON format from the Google
Developers Console.
|