Package | Description |
---|---|
com.google.auth.oauth2 |
Modifier and Type | Method and Description |
---|---|
ServiceAccountJwtAccessCredentials |
ServiceAccountJwtAccessCredentials.Builder.build() |
static ServiceAccountJwtAccessCredentials |
ServiceAccountJwtAccessCredentials.fromPkcs8(String clientId,
String clientEmail,
String privateKeyPkcs8,
String privateKeyId)
Factory using PKCS#8 for the private key.
|
static ServiceAccountJwtAccessCredentials |
ServiceAccountJwtAccessCredentials.fromPkcs8(String clientId,
String clientEmail,
String privateKeyPkcs8,
String privateKeyId,
URI defaultAudience)
Factory using PKCS#8 for the private key.
|
static ServiceAccountJwtAccessCredentials |
ServiceAccountJwtAccessCredentials.fromStream(InputStream credentialsStream)
Returns credentials defined by a Service Account key file in JSON format from the Google
Developers Console.
|
static ServiceAccountJwtAccessCredentials |
ServiceAccountJwtAccessCredentials.fromStream(InputStream credentialsStream,
URI defaultAudience)
Returns credentials defined by a Service Account key file in JSON format from the Google
Developers Console.
|
Constructor and Description |
---|
Builder(ServiceAccountJwtAccessCredentials credentials) |
Copyright © 2023 Google. All rights reserved.