| Package | Description |
|---|---|
| com.google.auth.oauth2 |
| Modifier and Type | Field and Description |
|---|---|
protected HttpTransportFactory |
ExternalAccountCredentials.transportFactory |
protected HttpTransportFactory |
ExternalAccountCredentials.Builder.transportFactory |
| Modifier and Type | Method and Description |
|---|---|
HttpTransportFactory |
ServiceAccountCredentials.Builder.getHttpTransportFactory() |
HttpTransportFactory |
UserAuthorizer.Builder.getHttpTransportFactory() |
HttpTransportFactory |
UserAuthorizer.TokenResponseWithConfig.getHttpTransportFactory()
Returns the HTTP transport factory used.
|
HttpTransportFactory |
GdchCredentials.Builder.getHttpTransportFactory() |
HttpTransportFactory |
ComputeEngineCredentials.Builder.getHttpTransportFactory() |
HttpTransportFactory |
ImpersonatedCredentials.Builder.getHttpTransportFactory() |
HttpTransportFactory |
SecureSessionAgent.Builder.getHttpTransportFactory() |
HttpTransportFactory |
UserCredentials.Builder.getHttpTransportFactory() |
HttpTransportFactory |
GdchCredentials.getTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ImpersonatedCredentials |
ImpersonatedCredentials.create(GoogleCredentials sourceCredentials,
String targetPrincipal,
List<String> delegates,
List<String> scopes,
int lifetime,
HttpTransportFactory transportFactory) |
static ImpersonatedCredentials |
ImpersonatedCredentials.create(GoogleCredentials sourceCredentials,
String targetPrincipal,
List<String> delegates,
List<String> scopes,
int lifetime,
HttpTransportFactory transportFactory,
String quotaProjectId) |
static ImpersonatedCredentials |
ImpersonatedCredentials.create(GoogleCredentials sourceCredentials,
String targetPrincipal,
List<String> delegates,
List<String> scopes,
int lifetime,
HttpTransportFactory transportFactory,
String quotaProjectId,
String iamEndpointOverride) |
static ServiceAccountCredentials |
ServiceAccountCredentials.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 ServiceAccountCredentials |
ServiceAccountCredentials.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 ServiceAccountCredentials |
ServiceAccountCredentials.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 ServiceAccountCredentials |
ServiceAccountCredentials.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 ServiceAccountCredentials |
ServiceAccountCredentials.fromStream(InputStream credentialsStream,
HttpTransportFactory transportFactory)
Returns credentials defined by a Service Account key file in JSON format from the Google
Developers Console.
|
static ExternalAccountCredentials |
ExternalAccountCredentials.fromStream(InputStream credentialsStream,
HttpTransportFactory transportFactory)
Returns credentials defined by a JSON file stream.
|
static ExternalAccountAuthorizedUserCredentials |
ExternalAccountAuthorizedUserCredentials.fromStream(InputStream credentialsStream,
HttpTransportFactory transportFactory)
Returns external account authorized user credentials defined by a JSON file stream.
|
static GoogleCredentials |
GoogleCredentials.fromStream(InputStream credentialsStream,
HttpTransportFactory transportFactory)
Returns credentials defined by a JSON file stream.
|
static UserCredentials |
UserCredentials.fromStream(InputStream credentialsStream,
HttpTransportFactory transportFactory)
Returns credentials defined by a JSON file stream using the format supported by the Cloud SDK.
|
static GoogleCredentials |
GoogleCredentials.getApplicationDefault(HttpTransportFactory transportFactory)
Returns the Application Default Credentials.
|
ServiceAccountCredentials.Builder |
ServiceAccountCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory)
Sets the HTTP transport factory, creates the transport used to get access tokens.
|
PluggableAuthCredentials.Builder |
PluggableAuthCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
UserAuthorizer.Builder |
UserAuthorizer.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory)
Sets the HTTP transport factory.
|
GdchCredentials.Builder |
GdchCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
ComputeEngineCredentials.Builder |
ComputeEngineCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
ImpersonatedCredentials.Builder |
ImpersonatedCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
ExternalAccountAuthorizedUserCredentials.Builder |
ExternalAccountAuthorizedUserCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory)
Sets the HTTP transport factory.
|
DownscopedCredentials.Builder |
DownscopedCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory)
Sets the HTTP transport factory.
|
SecureSessionAgent.Builder |
SecureSessionAgent.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
TokenVerifier.Builder |
TokenVerifier.Builder.setHttpTransportFactory(HttpTransportFactory httpTransportFactory)
Set the HttpTransportFactory used for requesting public keys from the certificate URL.
|
IdentityPoolCredentials.Builder |
IdentityPoolCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
UserCredentials.Builder |
UserCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
AwsCredentials.Builder |
AwsCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
void |
ImpersonatedCredentials.setTransportFactory(HttpTransportFactory httpTransportFactory) |
| Constructor and Description |
|---|
ExternalAccountCredentials(HttpTransportFactory transportFactory,
String audience,
String subjectTokenType,
String tokenUrl,
com.google.auth.oauth2.ExternalAccountCredentials.CredentialSource credentialSource,
String tokenInfoUrl,
String serviceAccountImpersonationUrl,
String quotaProjectId,
String clientId,
String clientSecret,
Collection<String> scopes)
Constructor with minimum identifying information and custom HTTP transport.
|
ExternalAccountCredentials(HttpTransportFactory transportFactory,
String audience,
String subjectTokenType,
String tokenUrl,
com.google.auth.oauth2.ExternalAccountCredentials.CredentialSource credentialSource,
String tokenInfoUrl,
String serviceAccountImpersonationUrl,
String quotaProjectId,
String clientId,
String clientSecret,
Collection<String> scopes,
com.google.auth.oauth2.EnvironmentProvider environmentProvider)
Constructor with minimum identifying information and custom HTTP transport.
|
Copyright © 2024 Google. All rights reserved.