Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 368 for claim (0.11 sec)

  1. security/pkg/util/jwtutil.go

    	}
    	return expiration, nil
    }
    
    // GetAud returns the claim `aud` from the token. Returns nil if not found.
    func GetAud(token string) ([]string, error) {
    	claims, err := parseJwtClaims(token)
    	if err != nil {
    		return nil, err
    	}
    
    	rawAud := claims["aud"]
    	if rawAud == nil {
    		return nil, fmt.Errorf("no aud in the token claims")
    	}
    
    	data, err := json.Marshal(rawAud)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/plugin/client_test.go

    			if err != nil {
    				t.Error(err)
    				return
    			}
    
    			req := &drapbv1alpha3.NodePrepareResourcesRequest{
    				Claims: []*drapbv1alpha3.Claim{
    					{
    						Namespace:      "dummy-namespace",
    						Uid:            "dummy-uid",
    						Name:           "dummy-claim",
    						ResourceHandle: "dummy-resource",
    					},
    				},
    			}
    			client.NodePrepareResources(context.TODO(), req)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. tests/integration/pilot/common/routing.go

        outputClaimToHeaders:
        - header: "x-jwt-nested-key"
          claim: "nested.nested-2.key2"
        - header: "x-jwt-iss"
          claim: "iss"
        - header: "x-jwt-wrong-header"
          claim: "wrong_claim"
    ---
    `
    	matchers := []match.Matcher{match.And(
    		// No waypoint here, these are all via ingress which doesn't forward to waypoint
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/queue/events.go

    	// PvcAdd is the event when a persistent volume claim is added in the cluster.
    	PvcAdd = framework.ClusterEvent{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add, Label: "PvcAdd"}
    	// PvcUpdate is the event when a persistent volume claim is updated in the cluster.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/node/graph.go

    		claimName, _, err := resourceclaim.Name(pod, &podResourceClaim)
    		// Do we have a valid claim name? If yes, add an edge that grants
    		// kubelet access to that claim. An error indicates that a claim
    		// still needs to be created, nil that intentionally no claim
    		// was created and never will be because it isn't needed.
    		if err == nil && claimName != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/GradleCustomizationSchemaBuildingComponent.kt

     * for resolving properties and member functions, see [conversionSupport]
     */
    internal
    fun EvaluationSchemaBuilder.gradleDslGeneralSchema() {
        /** This should go before [MinimalSchemaBuildingComponent], as it needs to claim the properties */
        registerAnalysisSchemaComponent(GradlePropertyApiAnalysisSchemaComponent())
    
        registerAnalysisSchemaComponent(MinimalSchemaBuildingComponent())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. cmd/iam.go

    		}
    
    		// Finally, if there is no parent policy, check if a policy claim is
    		// present in the session token.
    		if len(policies) == 0 {
    			// If there is no parent policy mapping, we fall back to
    			// using policy claim from JWT.
    			policySet, ok := args.GetPolicies(iamPolicyClaimNameOpenID())
    			if !ok {
    				// When claims are set, it should have a policy claim field.
    				return false
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    Contributor. If that Commercial Contributor then makes performance
    claims, or offers warranties related to Product X, those performance
    claims and warranties are such Commercial Contributor's responsibility
    alone. Under this section, the Commercial Contributor would have to
    defend claims against the other Contributors related to those performance
    claims and warranties, and if a court requires any other Contributor to
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. security/pkg/util/jwtutil_test.go

    		"65xiNg"
    
    	// oneAudString includes one `aud` claim "abc" of type string.
    	oneAudString = "header.eyJhdWQiOiJhYmMiLCJleHAiOjQ3MzI5OTQ4MDEsImlhdCI6MTU3OTM5NDgwMSwiaXNzIjoidGVzdC1pc3N1ZXItMUBpc3Rpby5pbyIsInN1YiI6InN1Yi0xIn0.signature" // nolint: lll
    
    	// twoAudList includes two `aud` claims ["abc", "xyz"] of type []string.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. pkg/serviceaccount/claims_test.go

    		},
    		{
    			name:      "different uid pod",
    			getter:    fakeGetter{serviceAccount, nil, pod, nil},
    			private:   &privateClaims{Kubernetes: kubernetes{Svcacct: ref{Name: "saname", UID: "sauid"}, Pod: &ref{Name: "podname", UID: "poduidold"}, Namespace: "ns"}},
    			expectErr: "pod UID (poduid) does not match service account pod ref claim (poduidold)",
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top