Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TokenExpired (0.36 sec)

  1. tests/integration/security/jwt_test.go

    					customizeCall: func(_ framework.TestContext, _ echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/expired-token-noauthz"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenExpired).Build()
    						opts.Check = check.Status(http.StatusUnauthorized)
    					},
    				},
    				{
    					name: "expired-token-cors-preflight-request-allowed",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  2. tests/common/jwt/jwt_token_test.go

    			wantClaims: map[string]any{
    				"groups": []any{"group-2"},
    				"iss":    "******@****.***",
    				"sub":    "sub-2",
    				"exp":    4715782783.0,
    			},
    		},
    		{
    			name:  "TokenExpired",
    			token: TokenExpired,
    			wantClaims: map[string]any{
    				"groups": []any{"group-1"},
    				"iss":    "******@****.***",
    				"sub":    "sub-1",
    				"exp":    1562182856.0,
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. tests/common/jwt/jwt_token.go

    	// }
    	// Generated by: security/tools/jwt/samples/gen-jwt.py tests/common/jwt/key.pem -jwks=tests/common/jwt/jwks.json
    	// --expire=1 --iss=******@****.*** --sub=sub-1 --listclaim groups "group-1"
    	// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    							opts.HTTP.Path = "/"
    							opts.HTTP.Headers = headers.New().
    								WithHost(fmt.Sprintf("example.%s.com", to.ServiceName())).
    								WithAuthz(jwt.TokenExpired).
    								Build()
    							opts.Check = check.Status(http.StatusUnauthorized)
    						},
    					},
    					{
    						name: "allow with sub-1 token on any.com",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. tests/integration/ambient/baseline_test.go

    			})
    
    			t.NewSubTest("deny with expired token").Run(func(t framework.TestContext) {
    				opt := opt.DeepCopy()
    				opt.HTTP.Path = "/"
    				opt.HTTP.Headers = headers.New().
    					WithAuthz(jwt.TokenExpired).
    					Build()
    				opt.Check = check.Status(http.StatusUnauthorized)
    				src.CallOrFail(t, opt)
    			})
    
    			t.NewSubTest("allow healthz").Run(func(t framework.TestContext) {
    				opt := opt.DeepCopy()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  6. tests/integration/pilot/common/routing.go

    	)}
    	headersWithToken := map[string][]string{
    		"Authorization": {"Bearer " + jwt.TokenIssuer1WithNestedClaims1},
    	}
    	headersWithInvalidToken := map[string][]string{
    		"Authorization": {"Bearer " + jwt.TokenExpired},
    	}
    	headersWithNoToken := map[string][]string{"Host": {"foo.bar"}}
    	headersWithNoTokenButSameHeader := map[string][]string{
    		"request.auth.claims.nested.key1": {"valueA"},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top