Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/http/request_test.go

    		username, password, ok := r.BasicAuth()
    		if ok != tt.ok || username != tt.username || password != tt.password {
    			t.Errorf("BasicAuth() = %#v, want %#v", getBasicAuthTest{username, password, ok},
    				getBasicAuthTest{tt.username, tt.password, tt.ok})
    		}
    	}
    	// Unauthenticated request.
    	r, _ := NewRequest("GET", "http://example.com/", nil)
    	username, password, ok := r.BasicAuth()
    	if ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. cluster/gce/upgrade.sh

      # to generate a valid ABAC policy. If the username changes, should
      # the script fail? Should we generate a default username and password
      # if the section is missing in kubeconfig? Handle this better in 1.5.
      get-kubeconfig-basicauth
      get-kubeconfig-bearertoken
    
      detect-master
      parse-master-env
      upgrade-master-env
    
      # Delete the master instance. Note that the master-pd is created
      # with auto-delete=no, so it should not be deleted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top