Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 164 for Authenticators (0.45 sec)

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

    	authorizationLatency.WithContext(ctx).WithLabelValues(resultLabel).Observe(authFinish.Sub(authStart).Seconds())
    }
    
    func recordAuthenticationMetrics(ctx context.Context, resp *authenticator.Response, ok bool, err error, apiAudiences authenticator.Audiences, authStart time.Time, authFinish time.Time) {
    	var resultLabel string
    
    	switch {
    	case err != nil || (resp != nil && !audiencesAreAcceptable(apiAudiences, resp.Audiences)):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val hostnameVerifier: HostnameVerifier? = address.hostnameVerifier
        val certificatePinner: CertificatePinner? = address.certificatePinner
      }
    
      @Test
      fun authenticator() {
        var authenticator: Authenticator = Authenticator { route, response -> TODO() }
      }
    
      @Test
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        cache.initialize()
        cache.delete()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          MockResponse(body = "c"),
        )
        val authenticator =
          RecordingOkAuthenticator(
            basic("jesse", "peanutbutter"),
            "Basic",
          )
        client =
          client.newBuilder()
            .authenticator(authenticator)
            .build()
        assertContent("c", getResponse(newRequest("/a")))
        val challengeResponse = authenticator.responses[0]
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  4. security/pkg/server/ca/authenticate/oidc_test.go

    	defer server.Close()
    
    	// Create a JWT authenticator
    	jwtRuleStr := `{"issuer": "` + server.URL + `", "jwks_uri": "` + server.URL + `", "audiences": ["baz.svc.id.goog"]}`
    	jwtRule := v1beta1.JWTRule{}
    	err = json.Unmarshal([]byte(jwtRuleStr), &jwtRule)
    	if err != nil {
    		t.Fatalf("failed at unmarshal jwt rule")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    	// verifier, or until context canceled.
    	initFn := func(ctx context.Context) (done bool, err error) {
    		klog.V(4).Infof("oidc authenticator: attempting init: iss=%v", iss)
    		v, err := initVerifier(ctx, c, iss, audiences)
    		if err != nil {
    			klog.Errorf("oidc authenticator: async token verifier for issuer: %q: %v", iss, err)
    			return false, nil
    		}
    		t.m.Lock()
    		defer t.m.Unlock()
    		t.v = v
    		close(sync)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/options/authentication.go

    		authenticatorConfig.CustomDial = egressDialer
    	}
    
    	// var openAPIV3SecuritySchemes spec3.SecuritySchemes
    	authenticator, updateAuthenticationConfig, openAPIV2SecurityDefinitions, openAPIV3SecuritySchemes, err := authenticatorConfig.New(ctx)
    	if err != nil {
    		return err
    	}
    	authInfo.Authenticator = authenticator
    
    	if len(o.AuthenticationConfigFile) > 0 {
    		authenticationconfigmetrics.RegisterMetrics()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val hostnameVerifier: HostnameVerifier = client.hostnameVerifier()
        val certificatePinner: CertificatePinner = client.certificatePinner()
        val proxyAuthenticator: Authenticator = client.proxyAuthenticator()
        val authenticator: Authenticator = client.authenticator()
        val connectionPool: ConnectionPool = client.connectionPool()
        val dns: Dns = client.dns()
        val followSslRedirects: Boolean = client.followSslRedirects()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Address.kt

      @get:JvmName("certificatePinner") val certificatePinner: CertificatePinner?,
      /** Returns the client's proxy authenticator. */
      @get:JvmName("proxyAuthenticator") val proxyAuthenticator: Authenticator,
      /**
       * Returns this address's explicitly-specified HTTP proxy, or null to delegate to the
       * [proxy selector][proxySelector].
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java

            if (systemProperties.get("http.proxyUser") != null || systemProperties.get("https.proxyUser") != null) {
                // Only an authenticator for proxies needs to be set. Basic authentication is supported by directly setting the request header field.
                Authenticator.setDefault(new ProxyAuthenticator(systemProperties));
            }
        }
    
        public void sendHeadRequest(URI uri) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    	})
    }
    
    func TestAuthenticationAuditAnnotationsDefaultChain(t *testing.T) {
    	authn := authenticator.RequestFunc(func(req *http.Request) (*authenticator.Response, bool, error) {
    		// confirm that we can set an audit annotation in a handler before WithAudit
    		audit.AddAuditAnnotation(req.Context(), "pandas", "are awesome")
    
    		return &authenticator.Response{User: &user.DefaultInfo{}}, true, nil
    	})
    	backend := &testBackend{}
    	c := &Config{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top