Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for disallowedIssuers (0.27 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    	return validateJWTAuthenticator(authenticator, nil, sets.New(disallowedIssuers...), utilfeature.DefaultFeatureGate.Enabled(features.StructuredAuthenticationConfiguration))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/authenticator/config.go

    			}
    		}
    		oidcAuth, err := oidc.New(ctx, oidc.Options{
    			JWTAuthenticator:     jwtAuthenticator,
    			CAContentProvider:    oidcCAContent,
    			SupportedSigningAlgs: oidcSigningAlgs,
    			DisallowedIssuers:    disallowedIssuers,
    		})
    		if err != nil {
    			return nil, err
    		}
    		jwtAuthenticators = append(jwtAuthenticators, oidcAuth)
    		healthChecks = append(healthChecks, oidcAuth.HealthCheck)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    	testCases := []struct {
    		name              string
    		in                *api.AuthenticationConfiguration
    		disallowedIssuers []string
    		want              string
    	}{
    		{
    			name: "jwt authenticator is empty",
    			in:   &api.AuthenticationConfiguration{},
    			want: "",
    		},
    		{
    			name: "duplicate issuer across jwt authenticators",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    	//
    	// This value defaults to RS256, the value recommended by the OpenID Connect
    	// spec:
    	//
    	// https://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation
    	SupportedSigningAlgs []string
    
    	DisallowedIssuers []string
    
    	// now is used for testing. It defaults to time.Now.
    	now func() time.Time
    }
    
    // Subset of dynamiccertificates.CAContentProvider that can be used to dynamically load root CAs.
    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/plugin/pkg/authenticator/token/oidc/oidc_test.go

    								ValueExpression: "claims.foo",
    							},
    							{
    								Key:             "example.org/bar",
    								ValueExpression: "claims.bar",
    							},
    						},
    					},
    				},
    				DisallowedIssuers: []string{"https://auth.example.com"},
    				now:               func() time.Time { return now },
    			},
    			signingKey: loadRSAPrivKey(t, "testdata/rsa_1.pem", jose.RS256),
    			pubKeys: []*jose.JSONWebKey{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
Back to top