Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 442 for audiences (0.37 sec)

  1. tests/integration/security/testdata/requestauthn/aud.yaml.tmpl

      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
        audiences:
        - "foo"
      - issuer: "******@****.***"
        jwksUri: "https://raw.githubusercontent.com/istio/istio/master/tests/common/jwt/jwks.json"
        audiences:
        - "bar"
    ---
    apiVersion: security.istio.io/v1beta1
    kind: RequestAuthentication
    metadata:
      name: {{ .To.ServiceName }}-part2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 838 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/round_trip_test.go

    	return authenticationv1beta1.TokenReviewStatus{
    		Authenticated: in.Authenticated,
    		User:          v1UserToV1beta1User(in.User),
    		Audiences:     in.Audiences,
    		Error:         in.Error,
    	}
    }
    
    func v1UserToV1beta1User(u authenticationv1.UserInfo) authenticationv1beta1.UserInfo {
    	var extra map[string]authenticationv1beta1.ExtraValue
    	if u.Extra != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. pkg/kube/rpc_creds.go

    	tokenNamespace, tokenServiceAccount string, audiences []string, expirationSeconds int64,
    ) (*authenticationv1.TokenRequest, error) {
    	return client.Kube().CoreV1().ServiceAccounts(tokenNamespace).CreateToken(ctx, tokenServiceAccount,
    		&authenticationv1.TokenRequest{
    			Spec: authenticationv1.TokenRequestSpec{
    				Audiences:         audiences,
    				ExpirationSeconds: &expirationSeconds,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/authentication/v1/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.ExpirationSeconds != nil {
    		in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
    		*out = new(int64)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:40 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top