Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AuthMethods (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authn_audit.go

    	if len(token) > 0 {
    		authMethods = append(authMethods, "access_token")
    	}
    
    	if req.TLS != nil && len(req.TLS.PeerCertificates) > 0 {
    		authMethods = append(authMethods, "x509")
    	}
    
    	if len(authMethods) > 0 {
    		return fmt.Sprintf("Authentication failed, attempted: %s", strings.Join(authMethods, ", "))
    	}
    	return "Authentication failed, no credentials provided"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. src/net/http/socks_bundle.go

    	ProxyDial func(context.Context, string, string) (net.Conn, error)
    
    	// AuthMethods specifies the list of request authentication
    	// methods.
    	// If empty, SOCKS client requests only AuthMethodNotRequired.
    	AuthMethods []socksAuthMethod
    
    	// Authenticate specifies the optional authentication
    	// function. It must be non-nil when AuthMethods is not empty.
    	// It must return an error when the authentication is failed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 22:42:18 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    		var conf *socks5.Config
    		if creds != nil {
    			authenticator := socks5.UserPassAuthenticator{Credentials: creds}
    			conf = &socks5.Config{
    				AuthMethods: []socks5.Authenticator{authenticator},
    				Rewriter:    interceptor,
    			}
    		} else {
    			conf = &socks5.Config{Rewriter: interceptor}
    		}
    
    		ts, err := socks5.New(conf)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  4. src/net/http/transport.go

    		d := socksNewDialer("tcp", conn.RemoteAddr().String())
    		if u := cm.proxyURL.User; u != nil {
    			auth := &socksUsernamePassword{
    				Username: u.Username(),
    			}
    			auth.Password, _ = u.Password()
    			d.AuthMethods = []socksAuthMethod{
    				socksAuthMethodNotRequired,
    				socksAuthMethodUsernamePassword,
    			}
    			d.Authenticate = auth.Authenticate
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top