Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for claim (0.19 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    		}
    		return
    	}
    
    	claims := struct{}{}
    	if err := json.Unmarshal([]byte(c.claims), &claims); err != nil {
    		t.Fatalf("failed to unmarshal claims: %v", err)
    	}
    
    	// Sign and serialize the claims in a JWT.
    	jws, err := signer.Sign([]byte(c.claims))
    	if err != nil {
    		t.Fatalf("sign claims: %v", err)
    	}
    	token, err := jws.CompactSerialize()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_control_test.go

    		if !podInOrdinalRange(pod, set) {
    			if !hasOwnerRef(claim, pod) || hasOwnerRef(claim, set) {
    				return fmt.Errorf("condemned claim %s has bad owner refs: %v", claim.Name, claim.GetOwnerReferences())
    			}
    		} else {
    			if hasOwnerRef(claim, pod) || !hasOwnerRef(claim, set) {
    				return fmt.Errorf("live claim %s has bad owner refs: %v", claim.Name, claim.GetOwnerReferences())
    			}
    		}
    	}
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K 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/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)
  5. pkg/config/validation/validation_test.go

    		},
    		{
    			name:       "null claim value in outputClaimToHeader ",
    			configName: constants.DefaultAuthenticationPolicyName,
    			in: &security_beta.RequestAuthentication{
    				JwtRules: []*security_beta.JWTRule{
    					{
    						Issuer:  "foo.com",
    						JwksUri: "https://foo.com",
    						OutputClaimToHeaders: []*security_beta.ClaimToHeader{
    							{
    								Header: "x-jwt-claim",
    								Claim:  "",
    							},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  6. pkg/config/validation/validation.go

    		if claimAndHeaders == nil {
    			errs = multierror.Append(errs, errors.New("outputClaimToHeaders must not be null"))
    			continue
    		}
    		if claimAndHeaders.Claim == "" || claimAndHeaders.Header == "" {
    			errs = multierror.Append(errs, errors.New("outputClaimToHeaders header and claim value must be non-empty string"))
    			continue
    		}
    		if err := ValidateHTTPHeaderName(claimAndHeaders.Header); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  7. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    jwksUri: description: URL of the provider's public key set to validate signature of the JWT. type: string outputClaimToHeaders: description: This field specifies a list of operations to copy the claim to HTTP headers on a successfully verified token. items: properties: claim: description: The name of the claim to be copied from. type: string header: description: The name of the header to be created. type: string type: object type: array outputPayloadToHeade: description: This field specifies the header...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    	}
    
    	// Verify the session token of the stsCred
    	claims, err := auth.ExtractClaims(stsCred.SessionToken, secretKey)
    	if err != nil {
    		return fmt.Errorf("STS credential could not be verified: %w", err)
    	}
    
    	mapClaims := claims.Map()
    	expiry, err := auth.ExpToInt64(mapClaims["exp"])
    	if err != nil {
    		return fmt.Errorf("Expiry claim was not found: %v: %w", mapClaims, err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    		{Name: "Status", Type: "string", Description: apiv1.PersistentVolumeStatus{}.SwaggerDoc()["phase"]},
    		{Name: "Claim", Type: "string", Description: apiv1.PersistentVolumeSpec{}.SwaggerDoc()["claimRef"]},
    		{Name: "StorageClass", Type: "string", Description: "StorageClass of the pv"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package ld
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top