Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 907 for claims0 (0.26 sec)

  1. pilot/pkg/security/authz/model/util.go

    			if err != nil {
    				return nil, err
    			}
    			return []string{ret}, nil
    		}
    		claims = append(claims, s[begin+1:end])
    		begin = end + 1
    	}
    	return claims, nil
    }
    
    func MetadataStringMatcherForJWTClaim(claim string, m *matcherpb.StringMatcher) *matcherpb.MetadataMatcher {
    	return MetadataValueMatcherForJWTClaim(claim, &matcherpb.ValueMatcher{
    		MatchPattern: &matcherpb.ValueMatcher_StringMatch{
    			StringMatch: m,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. licenses/github.com/hashicorp/go-version/LICENSE

         b. any new file in Source Code Form that contains any Covered Software.
    
    1.11. “Patent Claims” of a Contributor
    
          means any patent claim(s), including without limitation, method, process,
          and apparatus claims, in any patent Licensable by such Contributor that
          would be infringed, but for the grant of the License, by the making,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. licenses/github.com/hashicorp/golang-lru/v2/LICENSE

         b. any new file in Source Code Form that contains any Covered Software.
    
    1.11. "Patent Claims" of a Contributor
    
          means any patent claim(s), including without limitation, method,
          process, and apparatus claims, in any patent Licensable by such
          Contributor that would be infringed, but for the grant of the License,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 03 20:21:32 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. security/tools/jwt/README.md

      -sub SUB, --sub SUB   sub claim. If not provided, it is set to the same as
                            iss claim.
      -claims CLAIMS, --claims CLAIMS
                            Other claims in format name1:value1,name2:value2 etc.
                            Only string values are supported.
    ```
    
    ## Example
    
    Here is an example of using sa-jwt.py to generate a JWT token.
    
    ```bash
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Sep 14 20:15:07 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  5. pkg/serviceaccount/jwt.go

    type jwtTokenGenerator struct {
    	iss    string
    	signer jose.Signer
    }
    
    func (j *jwtTokenGenerator) GenerateToken(claims *jwt.Claims, privateClaims interface{}) (string, error) {
    	// claims are applied in reverse precedence
    	return jwt.Signed(j.signer).
    		Claims(privateClaims).
    		Claims(claims).
    		Claims(&jwt.Claims{
    			Issuer: j.iss,
    		}).
    		CompactSerialize()
    }
    
    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. pkg/api/pod/util_test.go

    			description: "no old pod/ new with claims / disabled",
    			oldPod:      noPod,
    			newPod:      podWithClaims,
    			wantPod:     podWithoutClaims,
    		},
    
    		{
    			description: "old with claims / new without claims / disabled",
    			oldPod:      podWithClaims,
    			newPod:      podWithoutClaims,
    			wantPod:     podWithoutClaims,
    		},
    		{
    			description: "old without claims / new without claims / disabled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go

    				&ClaimMappingExpression{
    					Expression: "claims.foo",
    				},
    			},
    			wantErr: `compilation failed: ERROR: <input>:1:1: undeclared reference to 'claims' (in container '')`,
    		},
    		{
    			name: "ExtraMappingCondition with wrong env",
    			expressionAccessors: []ExpressionAccessor{
    				&ExtraMappingExpression{
    					Expression: "claims.foo",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/manager.go

    	err := m.cache.withLock(func() error {
    		// Mark all pod claims as prepared.
    		for _, claim := range resourceClaims {
    			info, exists := m.cache.get(claim.Name, claim.Namespace)
    			if !exists {
    				return fmt.Errorf("unable to get claim info for claim %s in namespace %s", claim.Name, claim.Namespace)
    			}
    			info.setPrepared()
    		}
    
    		// Checkpoint to ensure all prepared claims are tracked with their list
    		// of CDI devices attached.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. internal/jwt/parser.go

    		return jwtgo.ErrSignatureInvalid
    	}
    	borrow.ReturnAll()
    
    	if claims.AccessKey == "" && claims.Subject == "" {
    		return jwtgo.NewValidationError("accessKey/sub missing",
    			jwtgo.ValidationErrorClaimsInvalid)
    	}
    
    	// Signature is valid, lets validate the claims for
    	// other fields such as expiry etc.
    	return claims.Valid()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. tests/integration/security/testdata/authz/jwt.yaml.tmpl

        when:
        - key: request.auth.claims[nested][key1]
          values: ["valueB"]
      - to:
        - operation:
            paths: ["/nested-non-exist"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][non-exist]
          values: ["valueC"]
      - to:
        - operation:
            paths: ["/nested-key2"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][key2]
          values: ["valueC"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top