Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for jwtAuthenticators (0.37 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.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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/kubeapiserver/options/authentication.go

    					Claim:         claim,
    					RequiredValue: value,
    				})
    			}
    			jwtAuthenticator.ClaimValidationRules = claimValidationRules
    		}
    
    		authConfig := &apiserver.AuthenticationConfiguration{
    			JWT: []apiserver.JWTAuthenticator{jwtAuthenticator},
    		}
    
    		ret.AuthenticationConfig = authConfig
    		ret.OIDCSigningAlgs = o.OIDC.SigningAlgs
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go

    // AuthenticationConfiguration provides versioned configuration for authentication.
    type AuthenticationConfiguration struct {
    	metav1.TypeMeta
    
    	JWT []JWTAuthenticator
    }
    
    // JWTAuthenticator provides the configuration for a single JWT authenticator.
    type JWTAuthenticator struct {
    	Issuer               Issuer
    	ClaimValidationRules []ClaimValidationRule
    	ClaimMappings        ClaimMappings
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go

    	//		"iss": "https://issuer.example.com",
    	//		"aud": ["audience"],
    	//		"exp": 1234567890,
    	//		"<username claim>": "username"
    	// }
    	JWT []JWTAuthenticator `json:"jwt"`
    }
    
    // JWTAuthenticator provides the configuration for a single JWT authenticator.
    type JWTAuthenticator struct {
    	// issuer contains the basic OIDC provider connection options.
    	// +required
    	Issuer Issuer `json:"issuer"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top