Uses of Interface
com.google.auth.http.HttpTransportFactory
Packages that use HttpTransportFactory
-
Uses of HttpTransportFactory in com.google.auth.mtls
Classes in com.google.auth.mtls that implement HttpTransportFactoryModifier and TypeClassDescriptionclassAn HttpTransportFactory that createsNetHttpTransportinstances configured for mTLS (mutual TLS) using a specificKeyStorecontaining the client's certificate and private key. -
Uses of HttpTransportFactory in com.google.auth.oauth2
Fields in com.google.auth.oauth2 declared as HttpTransportFactoryModifier and TypeFieldDescriptionstatic final HttpTransportFactoryOAuth2Utils.HTTP_TRANSPORT_FACTORYprotected HttpTransportFactoryExternalAccountCredentials.Builder.transportFactoryprotected HttpTransportFactoryExternalAccountCredentials.transportFactoryMethods in com.google.auth.oauth2 that return HttpTransportFactoryModifier and TypeMethodDescriptionComputeEngineCredentials.Builder.getHttpTransportFactory()GdchCredentials.Builder.getHttpTransportFactory()ImpersonatedCredentials.Builder.getHttpTransportFactory()SecureSessionAgent.Builder.getHttpTransportFactory()ServiceAccountCredentials.Builder.getHttpTransportFactory()UserAuthorizer.Builder.getHttpTransportFactory()UserAuthorizer.TokenResponseWithConfig.getHttpTransportFactory()Returns the HTTP transport factory used.UserCredentials.Builder.getHttpTransportFactory()final HttpTransportFactoryGdchCredentials.getTransportFactory()protected static HttpTransportFactoryOAuth2Credentials.newInstance(String className) Best-effort safe mechanism to attempt to instantiate anHttpTransportFactoryfrom a class name.Methods in com.google.auth.oauth2 with parameters of type HttpTransportFactoryModifier and TypeMethodDescriptionstatic ImpersonatedCredentialsImpersonatedCredentials.create(GoogleCredentials sourceCredentials, String targetPrincipal, List<String> delegates, List<String> scopes, int lifetime, HttpTransportFactory transportFactory) static ImpersonatedCredentialsImpersonatedCredentials.create(GoogleCredentials sourceCredentials, String targetPrincipal, List<String> delegates, List<String> scopes, int lifetime, HttpTransportFactory transportFactory, String quotaProjectId) static ImpersonatedCredentialsImpersonatedCredentials.create(GoogleCredentials sourceCredentials, String targetPrincipal, List<String> delegates, List<String> scopes, int lifetime, HttpTransportFactory transportFactory, String quotaProjectId, String iamEndpointOverride) 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, 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.ExternalAccountAuthorizedUserCredentials.fromStream(InputStream credentialsStream, HttpTransportFactory transportFactory) Returns external account authorized user credentials defined by a JSON file stream.static ExternalAccountCredentialsExternalAccountCredentials.fromStream(InputStream credentialsStream, HttpTransportFactory transportFactory) Returns credentials defined by a JSON file stream.static GdchCredentialsGdchCredentials.fromStream(InputStream credentialsStream, HttpTransportFactory transportFactory) Returns credentials defined by a GdchCredentials key file in JSON format from the Google Developers Console.static GoogleCredentialsGoogleCredentials.fromStream(InputStream credentialsStream, HttpTransportFactory transportFactory) This method is obsolete because of a potential security risk.static ImpersonatedCredentialsImpersonatedCredentials.fromStream(InputStream credentialsStream, HttpTransportFactory transportFactory) Returns credentials defined by a ImpersonatedCredential 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.static UserCredentialsUserCredentials.fromStream(InputStream credentialsStream, HttpTransportFactory transportFactory) Returns credentials defined by a JSON file stream using the format supported by the Cloud SDK.static GoogleCredentialsGoogleCredentials.getApplicationDefault(HttpTransportFactory transportFactory) Returns the Application Default Credentials.AwsCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) ComputeEngineCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) DownscopedCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) Sets the HTTP transport factory.ExternalAccountAuthorizedUserCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) Sets the HTTP transport factory.ExternalAccountCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) Sets the HTTP transport factory, creates the transport used to get access tokens.GdchCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) IdentityPoolCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) ImpersonatedCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) PluggableAuthCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) SecureSessionAgent.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) ServiceAccountCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) TokenVerifier.Builder.setHttpTransportFactory(HttpTransportFactory httpTransportFactory) Set the HttpTransportFactory used for requesting public keys from the certificate URL.UserAuthorizer.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) Sets the HTTP transport factory.UserCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) voidImpersonatedCredentials.setTransportFactory(HttpTransportFactory httpTransportFactory) Constructors in com.google.auth.oauth2 with parameters of type HttpTransportFactoryModifierConstructorDescriptionprotectedExternalAccountCredentials(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.protectedExternalAccountCredentials(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, EnvironmentProvider environmentProvider) Constructor with minimum identifying information and custom HTTP transport.