Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 329 for claim (0.07 sec)

  1. internal/jwt/parser_test.go

    			var err error
    
    			// Figure out correct claims type
    			switch claims := data.claims.(type) {
    			case *MapClaims:
    				if data.tokenString == "" {
    					data.tokenString = mapClaimsToken(claims)
    				}
    				err = ParseWithClaims(data.tokenString, &MapClaims{}, data.keyfunc)
    			case *StandardClaims:
    				if data.tokenString == "" {
    					data.tokenString = standardClaimsToken(claims)
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  2. pkg/test/framework/components/namespace/namespace.go

    	IsAmbient() bool
    	IsInjected() bool
    }
    
    // Claim an existing namespace in all clusters, or create a new one if doesn't exist.
    func Claim(ctx resource.Context, cfg Config) (i Instance, err error) {
    	cfg.overwriteRevisionIfEmpty(ctx.Settings().Revisions.Default())
    	return claimKube(ctx, cfg)
    }
    
    // ClaimOrFail calls Claim and fails test if it returns error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 18:12:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. docs/sts/keycloak.md

      - Save
    
    - Go to Clients
      - Click on `account`
      - Mappers
      - Create
        - `Name` with any text
        - `Mapper Type` is `User Attribute`
        - `User Attribute` is `policy`
        - `Token Claim Name` is `policy`
        - `Claim JSON Type` is `string`
      - Save
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. docs/sts/casdoor.md

    client_id     (string)    unique public identifier for apps e.g. "292085223830.apps.googleusercontent.com"
    claim_name    (string)    JWT canned policy claim name, defaults to "policy"
    claim_prefix  (string)    JWT claim namespace prefix e.g. "customer1/"
    scopes        (csv)       Comma separated list of OpenID scopes for server, defaults to advertised scopes from discovery document e.g. "email,admin"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  5. tests/common/jwt/jwt_token_test.go

    			t.Fatalf("%s: failed to parse token: %v", tc.name, err)
    		}
    
    		claims := map[string]any{}
    		err = json.Unmarshal(token, &claims)
    		if err != nil {
    			t.Fatalf("%s: failed to parse payload: %v", tc.name, err)
    		}
    
    		for k, v := range tc.wantClaims {
    			got, ok := claims[k]
    			if ok {
    				if !reflect.DeepEqual(got, v) {
    					t.Errorf("%s: claim %q got value %v but want %v", tc.name, k, got, v)
    				}
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/util/cdi/cdi_test.go

    			expectedAnnotations: []container.Annotation{{Name: "cdi.k8s.io/test-driver-name_test-claim-uid", Value: "vendor.com/class=device1"}},
    		},
    	}
    
    	as := assert.New(t)
    	for _, tc := range testCases {
    		t.Run(tc.description, func(t *testing.T) {
    			annotations, err := GenerateAnnotations("test-claim-uid", "test-driver-name", tc.deviceIDs)
    			as.ErrorIs(err, tc.expecteError)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:47:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. cmd/bucket-policy.go

    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    	if grpsVal, ok := claims["groups"]; ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. docs/sts/wso2.md

      "token_type": "Bearer",
      "expires_in": 3600
    }
    ```
    
    ### 4. JWT Claims
    
    The id_token received is a signed JSON Web Token (JWT). Use a JWT decoder to decode the id_token to access the payload of the token that includes following JWT claims:
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  9. licenses/github.com/shopspring/decimal/LICENSE

    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.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 06 22:59:30 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/virtualservice_jwtclaimroute.yaml

    # no request authentication applied on the gateway.
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: foo
    spec:
      hosts:
        - "foo.com"
      gateways:
        - foo-gateway
      http:
        - match:
            - uri:
                prefix: /
              headers:
                "@request.auth.claims.foo":
                  exact: foo
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 843 bytes
    - Viewed (0)
Back to top