| Package | Description |
|---|---|
| com.google.auth.oauth2 |
| Modifier and Type | Method and Description |
|---|---|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromPkcs8(String clientId,
String clientEmail,
String privateKeyPkcs8,
String privateKeyId,
Collection<String> scopes)
Factory with miniumum identifying information using PKCS#8 for the private key.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromPkcs8(String clientId,
String clientEmail,
String privateKeyPkcs8,
String privateKeyId,
Collection<String> scopes,
HttpTransportFactory transportFactory,
URI tokenServerUri)
Factory with miniumum identifying information and custom transport using PKCS#8 for the
private key.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromStream(InputStream credentialsStream)
Returns credentials defined by a Service Account key file in JSON format from the Google
Developers Console.
|
static ServiceAccountCredentials |
ServiceAccountCredentials.fromStream(InputStream credentialsStream,
HttpTransportFactory transportFactory)
Returns credentials defined by a Service Account key file in JSON format from the Google
Developers Console.
|
Copyright © 2017 Google. All rights reserved.