Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetBasicAuth (0.08 sec)

  1. 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)
  2. 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)
Back to top