Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for jwtAuthenticators (0.33 sec)

  1. pkg/kubeapiserver/authenticator/config.go

    		healthChecks = append(healthChecks, oidcAuth.HealthCheck)
    	}
    	return &jwtAuthenticatorWithCancel{
    		jwtAuthenticator: authenticator.WrapAudienceAgnosticToken(apiAudiences, tokenunion.NewFailOnError(jwtAuthenticators...)), // this handles the empty jwtAuthenticators slice case correctly
    		healthCheck: func() error {
    			var errs []error
    			for _, check := range healthChecks {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	}
    	c.claims = replace(c.claims, &v)
    	c.openIDConfig = replace(c.openIDConfig, &v)
    	c.options.JWTAuthenticator.Issuer.URL = replace(c.options.JWTAuthenticator.Issuer.URL, &v)
    	c.options.JWTAuthenticator.Issuer.DiscoveryURL = replace(c.options.JWTAuthenticator.Issuer.DiscoveryURL, &v)
    	for claim, response := range c.claimToResponseMap {
    		c.claimToResponseMap[claim] = replace(response, &v)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  3. security/pkg/server/ca/authenticate/oidc.go

    )
    
    const (
    	IDTokenAuthenticatorType = "IDTokenAuthenticator"
    )
    
    type JwtAuthenticator struct {
    	// holder of a mesh configuration for dynamically updating trust domain
    	meshHolder mesh.Holder
    	audiences  []string
    	verifier   *oidc.IDTokenVerifier
    }
    
    var _ security.Authenticator = &JwtAuthenticator{}
    
    // newJwtAuthenticator is used when running istiod outside of a cluster, to validate the tokens using OIDC
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    		}
    	}
    
    	authn := &jwtAuthenticator{
    		jwtAuthenticator: opts.JWTAuthenticator,
    		resolver:         resolver,
    		celMapper:        celMapper,
    		requiredClaims:   requiredClaims,
    	}
    	authn.healthCheck.Store(&errorHolder{
    		err: fmt.Errorf("oidc: authenticator for issuer %q is not initialized", authn.jwtAuthenticator.Issuer.URL),
    	})
    
    	issuerURL := opts.JWTAuthenticator.Issuer.URL
    	if opts.KeySet != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*JWTAuthenticator)(nil), (*apiserver.JWTAuthenticator)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1alpha1_JWTAuthenticator_To_apiserver_JWTAuthenticator(a.(*JWTAuthenticator), b.(*apiserver.JWTAuthenticator), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*JWTAuthenticator)(nil), (*apiserver.JWTAuthenticator)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_JWTAuthenticator_To_apiserver_JWTAuthenticator(a.(*JWTAuthenticator), b.(*apiserver.JWTAuthenticator), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:10:34 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTAuthenticator.
    func (in *JWTAuthenticator) DeepCopy() *JWTAuthenticator {
    	if in == nil {
    		return nil
    	}
    	out := new(JWTAuthenticator)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:10:34 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTAuthenticator.
    func (in *JWTAuthenticator) DeepCopy() *JWTAuthenticator {
    	if in == nil {
    		return nil
    	}
    	out := new(JWTAuthenticator)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  9. pkg/kubeapiserver/options/authentication_test.go

    		ClientCAContentProvider: nil, // this is nil because you can't compare functions
    		TokenAuthFile:           "/testTokenFile",
    		AuthenticationConfig: &apiserver.AuthenticationConfiguration{
    			JWT: []apiserver.JWTAuthenticator{
    				{
    					Issuer: apiserver.Issuer{
    						URL:       "https://testIssuerURL",
    						Audiences: []string{"testClientID"},
    					},
    					ClaimMappings: apiserver.ClaimMappings{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTAuthenticator.
    func (in *JWTAuthenticator) DeepCopy() *JWTAuthenticator {
    	if in == nil {
    		return nil
    	}
    	out := new(JWTAuthenticator)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top