Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for claims0 (0.17 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. 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)
  3. 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)
  4. docs/iam/identity-manager-plugin.go

    	Claims             map[string]interface{} `json:"claims"`
    }
    
    var tokens map[string]Resp = map[string]Resp{
    	"aaa": {
    		User:               "Alice",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    			"groups": []string{"data-science"},
    		},
    	},
    	"bbb": {
    		User:               "Bart",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. internal/config/identity/openid/providercfg.go

    		return ""
    	}
    	return p.roleArn.String()
    }
    
    // UserInfo returns claims for authenticated user from userInfo endpoint.
    //
    // Some OIDC implementations such as GitLab do not support
    // claims as part of the normal oauth2 flow, instead rely
    // on service providers making calls to IDP to fetch additional
    // claims available from the UserInfo endpoint
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/cel/interface.go

    }
    
    // ClaimsMapper provides a CEL expression mapper configured with the claims CEL variable.
    type ClaimsMapper interface {
    	// EvalClaimMapping evaluates the given claim mapping expression and returns a EvaluationResult.
    	// This is used for username, groups and uid claim mapping that contains a single expression.
    	EvalClaimMapping(ctx context.Context, claims *unstructured.Unstructured) (EvaluationResult, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. cmd/jwt_test.go

    	xjwt "github.com/minio/minio/internal/jwt"
    )
    
    func getTokenString(accessKey, secretKey string) (string, error) {
    	claims := xjwt.NewMapClaims()
    	claims.SetExpiry(UTCNow().Add(defaultJWTExpiry))
    	claims.SetAccessKey(accessKey)
    	token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, claims)
    	return token.SignedString([]byte(secretKey))
    }
    
    // Tests web request authenticator.
    func TestWebRequestAuthenticate(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:45:14 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. pkg/config/security/security.go

    	attrRequestPresenter = "request.auth.presenter" // authorized presenter of the credential.
    	attrRequestClaims    = "request.auth.claims"    // claim name is surrounded by brackets, e.g. "request.auth.claims[iss]".
    	attrDestIP           = "destination.ip"         // supports both single ip and cidr, e.g. "10.1.2.3" or "10.1.0.0/16".
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json

            },
            "resources": {
              "limits": {
                "limitsKey": "0"
              },
              "requests": {
                "requestsKey": "0"
              },
              "claims": [
                {
                  "name": "nameValue"
                }
              ]
            },
            "volumeMounts": [
              {
                "name": "nameValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/build/PATENTS

    transfer and otherwise run, modify and propagate the contents of this
    implementation of Go, where such license applies only to those patent
    claims, both currently owned or controlled by Google and acquired in
    the future, licensable by Google that are necessarily infringed by this
    implementation of Go.  This grant does not include claims that would be
    infringed only as a consequence of further modification of this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top