You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the GoDoc of [clientcredentials#Config.Client](https://pkg.go.dev/golang.org/x/oauth2/clientcredentials#Config.Client)
@@ -30,14 +30,14 @@ defer c.Close()
30
30
```
31
31
32
32
33
-
## Modifying TLSClientConfig
33
+
## Modifying
34
34
35
-
This scenario is applicable for adding Root CA, Client Root CA, Client SSL certs, transport timeouts, etc.
35
+
This scenario applies to any client and transport-related configurations, such as adding Root CA, Client Root CA, Client SSL certificates, transport timeouts, and so on.
36
36
37
37
{{% hint info %}}
38
38
* As per the GoDoc of [clientcredentials#Config.Client](https://pkg.go.dev/golang.org/x/oauth2/clientcredentials#Config.Client)
39
39
* The returned `Client` and its `Transport` should not be modified.
40
-
* To modify TLSClientConfig and use the oauth2 client credentials package together, a slight tweak is required.
40
+
* To use the oauth2 client credentials package and make modifications to it, a minor adjustment is necessary.
41
41
{{% /hint %}}
42
42
43
43
```go
@@ -50,9 +50,9 @@ c := resty.New()
50
50
defer c.Close()
51
51
52
52
// configure required Root CA, Client Root CA, or Client SSL certs
0 commit comments