- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetBasicAuth (0.17 sec)
-
docs/sts/client-grants.go
req, err := http.NewRequest(http.MethodPost, idpEndpoint, strings.NewReader(data.Encode())) if err != nil { return nil, err } req.Header.Set("Content-Type", "application/x-www-form-urlencoded") req.SetBasicAuth(clientID, clientSecret) t := &http.Transport{ TLSClientConfig: &tls.Config{ InsecureSkipVerify: true, }, } hclient := http.Client{ Transport: t, } resp, err := hclient.Do(req)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 3.3K bytes - Viewed (0) -
api/go1.txt
pkg net/http, method (*Request) ParseMultipartForm(int64) error pkg net/http, method (*Request) ProtoAtLeast(int, int) bool pkg net/http, method (*Request) Referer() string pkg net/http, method (*Request) SetBasicAuth(string, string) pkg net/http, method (*Request) UserAgent() string pkg net/http, method (*Request) Write(io.Writer) error pkg net/http, method (*Request) WriteProxy(io.Writer) error
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)