Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 299 for claims0 (0.39 sec)

  1. 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)
  2. pilot/pkg/networking/core/route/route_internal_test.go

    		useExtended bool
    	}{
    		{
    			name: "@request.auth.claims",
    		},
    		{
    			name: "@request.auth.claims-",
    		},
    		{
    			name: "request.auth.claims.",
    		},
    		{
    			name: "@request.auth.claims.",
    		},
    		{
    			name: "@request.auth.claims-abc",
    		},
    		{
    			name: "x-some-other-header",
    		},
    		{
    			name: "@request.auth.claims.key1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    		return token
    	}
    	return r.Form.Get(xhttp.AmzSecurityToken)
    }
    
    // Fetch claims in the security token returned by the client, doesn't return
    // errors - upon errors the returned claims map will be empty.
    func mustGetClaimsFromToken(r *http.Request) map[string]interface{} {
    	claims, _ := getClaimsFromToken(getSessionToken(r))
    	return claims
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    }
    
    // expand extracts the distributed claims from claim names and claim sources.
    // The extracted claim value is pulled up into the supplied claims.
    //
    // Distributed claims are of the form as seen below, and are defined in the
    // OIDC Connect Core 1.0, section 5.6.2.
    // See: https://openid.net/specs/openid-connect-core-1_0.html#AggregatedDistributedClaims
    //
    //	{
    //	  ... (other normal claims)...
    //	  "_claim_names": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-ldap.go

    			writeErrorResponseJSON(ctx, w, APIErr, r.URL)
    			return
    		}
    
    		// In case of LDAP/OIDC we need to set `opts.claims` to ensure
    		// it is associated with the LDAP/OIDC user properly.
    		for k, v := range cred.Claims {
    			if k == expClaim {
    				continue
    			}
    			opts.claims[k] = v
    		}
    	} else {
    		// We still need to ensure that the target user is a valid LDAP user.
    		//
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 19:58:48 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

        of computer software code that is originally released under this
        License.
    
        1.11. "Patent Claims" means any patent claim(s), now owned or
        hereafter acquired, including without limitation, method, process,
        and apparatus claims, in any patent Licensable by grantor.
    
        1.12. "Source Code" means (a) the common form of computer software
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/testdata/http/allow-full-rule-out.yaml

                        - key: request.auth.claims
                        - key: iss
                        value:
                          listMatch:
                            oneOf:
                              stringMatch:
                                exact: iss
                    - metadata:
                        filter: istio_authn
                        path:
                        - key: request.auth.claims
                        - key: iss
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. internal/auth/credentials.go

    	return jwt.SignedString([]byte(tokenSecret))
    }
    
    // ExtractClaims extracts JWT claims from a security token using a secret key
    func ExtractClaims(token, secretKey string) (*jwt.MapClaims, error) {
    	if token == "" || secretKey == "" {
    		return nil, errors.New("invalid argument")
    	}
    
    	claims := jwt.NewMapClaims()
    	stsTokenCallback := func(claims *jwt.MapClaims) ([]byte, error) {
    		return []byte(secretKey), nil
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. internal/config/identity/openid/openid.go

    			p.DiscoveryDoc.ScopesSupported = scopes
    		}
    
    		// Check if claim name is the non-default value and role policy is set.
    		if p.ClaimName != policy.PolicyName && p.RolePolicy != "" {
    			// In the unlikely event that the user specifies
    			// `policy.PolicyName` as the claim name explicitly and sets
    			// a role policy, this check is thwarted, but we will be using
    			// the role policy anyway.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/iscsi_test.go

    					FSType:       "ext4",
    					Lun:          0,
    				},
    			},
    			ClaimRef: &v1.ObjectReference{
    				Name: "claimA",
    			},
    		},
    	}
    
    	claim := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "claimA",
    			Namespace: "nsA",
    		},
    		Spec: v1.PersistentVolumeClaimSpec{
    			VolumeName: "pvA",
    		},
    		Status: v1.PersistentVolumeClaimStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
Back to top