Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 457 for audiences (0.31 sec)

  1. staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/authentication.k8s.io.v1.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)
  3. pkg/apis/authentication/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
    	*out = *in
    	if in.Audiences != nil {
    		in, out := &in.Audiences, &out.Audiences
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.BoundObjectRef != nil {
    		in, out := &in.BoundObjectRef, &out.BoundObjectRef
    		*out = new(BoundObjectReference)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 14 16:00:26 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    		},
    		{
    			name:          "api audience matching response audience",
    			apiAuds:       authenticator.Audiences([]string{"other"}),
    			respAuds:      []string{"other"},
    			expectSuccess: true,
    		},
    		{
    			name:          "api audience non-matching response audience",
    			apiAuds:       authenticator.Audiences([]string{"other"}),
    			respAuds:      []string{"some"},
    			expectSuccess: false,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. pkg/serviceaccount/jwt.go

    	if !ok {
    		// default to apiserver audiences
    		requestedAudiences = j.implicitAuds
    	}
    
    	auds := authenticator.Audiences(tokenAudiences).Intersect(requestedAudiences)
    	if len(auds) == 0 && len(j.implicitAuds) != 0 {
    		return nil, false, fmt.Errorf("token audiences %q is invalid for the target audiences %q", tokenAudiences, requestedAudiences)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    		{
    			name:        "valid audience with MatchAny policy",
    			in:          []string{"audience"},
    			matchPolicy: "MatchAny",
    			want:        "",
    		},
    		{
    			name:        "duplicate audience",
    			in:          []string{"audience", "audience"},
    			matchPolicy: "MatchAny",
    			want:        `issuer.audiences[1]: Duplicate value: "audience"`,
    		},
    		{
    			name: "match policy not set with multiple audiences",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
    	*out = *in
    	if in.Audiences != nil {
    		in, out := &in.Audiences, &out.Audiences
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 23:42:33 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/authentication.k8s.io.v1beta1.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)
  10. pkg/registry/core/serviceaccount/storage/token.go

    	if err != nil {
    		return nil, err
    	}
    	svcacct := svcacctObj.(*api.ServiceAccount)
    
    	// Default unset spec audiences to API server audiences based on server config
    	if len(req.Spec.Audiences) == 0 {
    		req.Spec.Audiences = r.auds
    	}
    	// Populate metadata fields if not set
    	if len(req.Name) == 0 {
    		req.Name = svcacct.Name
    	}
    	if len(req.Namespace) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top