Uses of Class
com.google.auth.oauth2.ServiceAccountCredentials
Packages that use ServiceAccountCredentials
-
Uses of ServiceAccountCredentials in com.google.auth.oauth2
Methods in com.google.auth.oauth2 that return ServiceAccountCredentialsModifier and TypeMethodDescriptionServiceAccountCredentials.Builder.build()ServiceAccountCredentials.createWithCustomLifetime(int lifetime) Clones the service account with a new lifetime value.ServiceAccountCredentials.createWithCustomRetryStrategy(boolean defaultRetriesEnabled) Clones the service account with the specified default retries.ServiceAccountCredentials.createWithUseJwtAccessWithScope(boolean useJwtAccessWithScope) Clones the service account with a new useJwtAccessWithScope value.(package private) static ServiceAccountCredentialsServiceAccountCredentials.fromJson(Map<String, Object> json, HttpTransportFactory transportFactory) Returns service account credentials defined by JSON using the format supported by the Google Developers Console.(package private) static ServiceAccountCredentialsServiceAccountCredentials.fromPkcs8(String privateKeyPkcs8, ServiceAccountCredentials.Builder builder) Internal constructorstatic ServiceAccountCredentialsServiceAccountCredentials.fromPkcs8(String clientId, String clientEmail, String privateKeyPkcs8, String privateKeyId, Collection<String> scopes) Factory with minimum identifying information using PKCS#8 for the private key.static ServiceAccountCredentialsServiceAccountCredentials.fromPkcs8(String clientId, String clientEmail, String privateKeyPkcs8, String privateKeyId, Collection<String> scopes, HttpTransportFactory transportFactory, URI tokenServerUri) Factory with minimum identifying information and custom transport using PKCS#8 for the private key.static ServiceAccountCredentialsServiceAccountCredentials.fromPkcs8(String clientId, String clientEmail, String privateKeyPkcs8, String privateKeyId, Collection<String> scopes, HttpTransportFactory transportFactory, URI tokenServerUri, String serviceAccountUser) Factory with minimum identifying information and custom transport using PKCS#8 for the private key.static ServiceAccountCredentialsServiceAccountCredentials.fromPkcs8(String clientId, String clientEmail, String privateKeyPkcs8, String privateKeyId, Collection<String> scopes, Collection<String> defaultScopes) Factory with minimum identifying information using PKCS#8 for the private key.static ServiceAccountCredentialsServiceAccountCredentials.fromPkcs8(String clientId, String clientEmail, String privateKeyPkcs8, String privateKeyId, Collection<String> scopes, Collection<String> defaultScopes, HttpTransportFactory transportFactory, URI tokenServerUri) Factory with minimum identifying information and custom transport using PKCS#8 for the private key.static ServiceAccountCredentialsServiceAccountCredentials.fromPkcs8(String clientId, String clientEmail, String privateKeyPkcs8, String privateKeyId, Collection<String> scopes, Collection<String> defaultScopes, HttpTransportFactory transportFactory, URI tokenServerUri, String serviceAccountUser) Factory with minimum identifying information and custom transport using PKCS#8 for the private key.static ServiceAccountCredentialsServiceAccountCredentials.fromStream(InputStream credentialsStream) Returns credentials defined by a Service Account key file in JSON format from the Google Developers Console.static ServiceAccountCredentialsServiceAccountCredentials.fromStream(InputStream credentialsStream, HttpTransportFactory transportFactory) Returns credentials defined by a Service Account key file in JSON format from the Google Developers Console.Constructors in com.google.auth.oauth2 with parameters of type ServiceAccountCredentials