google: Remove TLSConfig injection logic in favor of HTTPClient injection via context

This commit is contained in:
Andy Zhao
2023-02-28 12:14:12 -08:00
parent d171fca96d
commit a1f84d645a
2 changed files with 0 additions and 34 deletions

View File

@@ -6,7 +6,6 @@ package google
import (
"context"
"crypto/tls"
"encoding/json"
"fmt"
"io/ioutil"
@@ -66,9 +65,6 @@ type CredentialsParams struct {
// The OAuth2 TokenURL to use, which depends on whether mTLS is enabled. Optional.
TokenURL string
// The TLSConfig used for constructing an mTLS-enabled HTTP client. Optional.
TLSConfig *tls.Config
}
func (params CredentialsParams) deepCopy() CredentialsParams {