Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 201 for audiences (0.28 sec)

  1. pilot/pkg/security/authz/builder/testdata/http/extended-allow-full-rule-out.yaml

                                - stringMatch:
                                    exact: audiences
                                - stringMatch:
                                    prefix: audiences-prefix-
                                - stringMatch:
                                    suffix: -suffix-audiences
                                - stringMatch:
                                    safeRegex:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 39K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/authentication.k8s.io.v1.TokenReview.json

      "spec": {
        "token": "tokenValue",
        "audiences": [
          "audiencesValue"
        ]
      },
      "status": {
        "authenticated": true,
        "user": {
          "username": "usernameValue",
          "uid": "uidValue",
          "groups": [
            "groupsValue"
          ],
          "extra": {
            "extraKey": [
              "extraValue"
            ]
          }
        },
        "audiences": [
          "audiencesValue"
        ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. security/pkg/server/ca/authenticate/oidc_test.go

    	}{
    		{
    			name:        "audience is in the expected set",
    			expectRet:   true,
    			audToCheck:  []string{"aud1"},
    			audExpected: []string{"aud1", "aud2"},
    		},
    		{
    			name:        "audience is NOT in the expected set",
    			expectRet:   false,
    			audToCheck:  []string{"aud3"},
    			audExpected: []string{"aud1", "aud2"},
    		},
    		{
    			name:        "one of the audiences is in the expected set",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/authentication.k8s.io.v1beta1.TokenReview.yaml

        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      audiences:
      - audiencesValue
      token: tokenValue
    status:
      audiences:
      - audiencesValue
      authenticated: true
      error: errorValue
      user:
        extra:
          extraKey:
          - extraValue
        groups:
        - groupsValue
        uid: uidValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. pkg/kubeapiserver/options/authentication_test.go

    			TokenFile: "/testTokenFile",
    		},
    		TokenSuccessCacheTTL: 10 * time.Second,
    		TokenFailureCacheTTL: 0,
    	}
    
    	expectConfig := kubeauthenticator.Config{
    		APIAudiences:            authenticator.Audiences{"http://foo.bar.com"},
    		Anonymous:               false,
    		BootstrapToken:          false,
    		ClientCAContentProvider: nil, // this is nil because you can't compare functions
    		TokenAuthFile:           "/testTokenFile",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    	seenAudiences := sets.NewString()
    	for i, audience := range audiences {
    		fldPath := fldPath.Index(i)
    		if len(audience) == 0 {
    			allErrs = append(allErrs, field.Required(fldPath, "audience can't be empty"))
    		}
    		if seenAudiences.Has(audience) {
    			allErrs = append(allErrs, field.Duplicate(fldPath, audience))
    		}
    		seenAudiences.Insert(audience)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/authentication.k8s.io.v1.TokenRequest.yaml

        blockOwnerDeletion: true
        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      audiences:
      - audiencesValue
      boundObjectRef:
        apiVersion: apiVersionValue
        kind: kindValue
        name: nameValue
        uid: uidValue
      expirationSeconds: 4
    status:
      expirationTimestamp: "2002-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/authentication.k8s.io.v1.TokenRequest.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "audiences": [
          "audiencesValue"
        ],
        "expirationSeconds": 4,
        "boundObjectRef": {
          "kind": "kindValue",
          "apiVersion": "apiVersionValue",
          "name": "nameValue",
          "uid": "uidValue"
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. security/pkg/util/jwtutil.go

    		return listAud, nil
    	}
    
    	return nil, err
    }
    
    type jwtPayload struct {
    	// Aud is JWT token audience - used to identify 3p tokens.
    	// It is empty for the default K8S tokens.
    	Aud []string `json:"aud"`
    }
    
    // ExtractJwtAud extracts the audiences from a JWT token. If aud cannot be parse, the bool will be set
    // to false. This distinguishes aud=[] from not parsed.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/server_test.go

    			jwtRule:   `{"issuer": "foo", "jwks_uri": "baz", "audiences": ["aud1", "aud2"]}`,
    		},
    		{
    			name:      "invalid jwt rule",
    			expectErr: true,
    			jwtRule:   "invalid",
    		},
    		{
    			name:      "jwt rule with invalid audiences",
    			expectErr: true,
    			// audiences must be a string array
    			jwtRule: `{"issuer": "foo", "jwks_uri": "baz", "audiences": "aud1"}`,
    		},
    	}
    
    	for _, tt := range tests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top