Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TykTechnologies/tyk
/ functions
Functions
9,242 in github.com/TykTechnologies/tyk
⨍
Functions
9,242
◇
Types & classes
1,202
Function
TestInitGenericEventHandlers
(t *testing.T)
gateway/event_system_test.go:149
Function
TestInitTriggerRx
(t *testing.T)
gateway/mw_url_rewrite_test.go:1164
Function
TestIntegration_AND_Groups_With_HMAC
(t *testing.T)
gateway/mw_auth_or_wrapper_test.go:5168
Function
TestIntegration_AND_JWT_And_APIKey
TestIntegration_AND_JWT_And_APIKey tests AND logic within a security requirement
gateway/mw_auth_or_wrapper_test.go:5003
Function
TestIntegration_OR_JWT_And_APIKey
TestIntegration_OR_JWT_And_APIKey tests OR logic with JWT and API Key
gateway/mw_auth_or_wrapper_test.go:4836
Function
TestIntegration_StandardOAS_APIKey
TestIntegration_StandardOAS_APIKey tests API Key authentication via OAS security scheme
gateway/mw_auth_or_wrapper_test.go:4601
Function
TestIntegration_StandardOAS_Basic
TestIntegration_StandardOAS_Basic tests Basic Auth via OAS security scheme
gateway/mw_auth_or_wrapper_test.go:4715
Function
TestIntegration_StandardOAS_JWT
Integration tests for authentication methods with real HTTP requests TestIntegration_StandardOAS_JWT tests JWT authentication via OAS security scheme
gateway/mw_auth_or_wrapper_test.go:4474
Function
TestInternalAPIUsage
(t *testing.T)
gateway/api_loader_test.go:65
Function
TestInternalEndpointMW_TT_11126
(t *testing.T)
gateway/api_definition_test.go:1621
Function
TestInternalStorages
(t *testing.T)
storage/redis_cluster_test.go:290
Function
TestInternal_ExtractTo
(t *testing.T)
apidef/oas/internal_test.go:31
Function
TestInternal_Fill
(t *testing.T)
apidef/oas/internal_test.go:11
Function
TestInvalidateCache
(t *testing.T)
gateway/api_test.go:1568
Function
TestIsDNSError
TestIsDNSError tests the isDNSError function
rpc/utils_test.go:107
Function
TestIsGraphQLProxyOnly
(t *testing.T)
gateway/mw_graphql_test.go:1485
Function
TestIsGrpcStreaming
(t *testing.T)
internal/httputil/streaming_test.go:43
Function
TestIsHashType
(t *testing.T)
user/session_test.go:40
Function
TestIsInOASComponents
(t *testing.T)
apidef/oas/security_test.go:2430
Function
TestIsInVendorSecurity
(t *testing.T)
apidef/oas/security_test.go:2270
Function
TestIsMTLSError
TestIsMTLSError tests the IsMTLSError function
internal/httpclient/factory_mtls_security_test.go:330
Function
TestIsMemberOfSet
(t *testing.T)
storage/redis_cluster_test.go:1749
Function
TestIsProprietaryAuth
(t *testing.T)
apidef/oas/security_test.go:1536
Function
TestIsProprietaryAuthScheme
(t *testing.T)
apidef/oas/security_test.go:2153
Function
TestIsProprietaryInSecuritySchemes
(t *testing.T)
apidef/oas/security_test.go:2381
Function
TestIsProprietaryInVendor
(t *testing.T)
apidef/oas/security_test.go:2316
Function
TestIsProprietarySchemeType
(t *testing.T)
apidef/oas/security_test.go:2485
Function
TestIsProxyOnlyAPIDefinition
(t *testing.T)
apidef/adapter/utils_test.go:68
Function
TestIsPublicKey
(t *testing.T)
internal/crypto/helpers_test.go:13
Function
TestIsRaceEnabled
(t *testing.T)
test/race_test.go:5
Function
TestIsRetriableError
(t *testing.T)
gateway/rpc_storage_handler_test.go:983
Function
TestIsSseStreamingResponse
(t *testing.T)
internal/httputil/streaming_test.go:49
Function
TestIsStreamingRequest
(t *testing.T)
internal/httputil/streaming_test.go:71
Function
TestIsStreamingResponse
(t *testing.T)
internal/httputil/streaming_test.go:77
Function
TestIsSupergraphAPIDefinition
(t *testing.T)
apidef/adapter/utils_test.go:11
Function
TestIsUniversalDataGraphAPIDefinition
(t *testing.T)
apidef/adapter/utils_test.go:125
Function
TestIsUpgrade
(t *testing.T)
internal/httputil/streaming_test.go:54
Function
TestIsWebsocketUpgrade
(t *testing.T)
gateway/analytics_streams_test.go:25
Function
TestItem_Expired
(t *testing.T)
internal/cache/item_test.go:10
Function
TestJQMiddleware
(t *testing.T)
gateway/mw_transform_jq_test.go:28
Function
TestJSONFormatterErrorHandling
(t *testing.T)
log/log_test.go:72
Function
TestJSONToFormValues
(t *testing.T)
gateway/oauth_manager_test.go:1276
Function
TestJSVMBase64
(t *testing.T)
gateway/mw_js_plugin_test.go:686
Function
TestJSVMBody
(t *testing.T)
gateway/mw_js_plugin_test.go:153
Function
TestJSVMConfigData
(t *testing.T)
gateway/mw_js_plugin_test.go:376
Function
TestJSVMEventHandlerConf_Scan
(t *testing.T)
apidef/api_definitions_test.go:328
Function
TestJSVMEventHandler_Init
(t *testing.T)
gateway/event_handler_jsvm_test.go:9
Function
TestJSVMLogs
(t *testing.T)
gateway/mw_js_plugin_test.go:101
Function
TestJSVMProcessTimeout
(t *testing.T)
gateway/mw_js_plugin_test.go:332
Function
TestJSVMRequestScheme
(t *testing.T)
gateway/mw_js_plugin_test.go:525
Function
TestJSVMSessionMetadataUpdate
(t *testing.T)
gateway/mw_js_plugin_test.go:194
Function
TestJSVMStagesRequest
(t *testing.T)
gateway/mw_js_plugin_test.go:750
Function
TestJSVMUserCore
(t *testing.T)
gateway/mw_js_plugin_test.go:478
Function
TestJSVM_Auth
(t *testing.T)
gateway/mw_js_plugin_test.go:906
Function
TestJSVM_IgnoreCanonicalHeader
(t *testing.T)
gateway/mw_js_plugin_test.go:434
Function
TestJSVM_MultiAuthentication
(t *testing.T)
gateway/mw_js_plugin_test.go:245
Function
TestJSVM_StopProxyWhenFail
(t *testing.T)
gateway/mw_js_plugin_test.go:27
Function
TestJWKReadableDurationConversionInRealFunctions
(t *testing.T)
gateway/mw_jwt_test.go:4343
Function
TestJWKSCache_InvalidateCacheForAPI
(t *testing.T)
gateway/mw_jwt_test.go:2370
Function
TestJWKSCache_InvalidateJWKSCache
(t *testing.T)
gateway/mw_jwt_test.go:2399
Function
TestJWK_GetCacheTimeoutSeconds
(t *testing.T)
apidef/jwk_test.go:10
Function
TestJWTAuthKeyMultiAuth
(t *testing.T)
gateway/multiauth_test.go:303
Function
TestJWTCustomClaimsValidation
(t *testing.T)
gateway/mw_jwt_test.go:988
Function
TestJWTDefaultPolicies
(t *testing.T)
gateway/mw_jwt_test.go:2868
Function
TestJWTECDSASign
(t *testing.T)
gateway/mw_jwt_test.go:3090
Function
TestJWTExistingSessionRSAWithRawSourceInvalidPolicyID
(t *testing.T)
gateway/mw_jwt_test.go:925
Function
TestJWTExistingSessionRSAWithRawSourcePolicyIDChanged
(t *testing.T)
gateway/mw_jwt_test.go:2160
Function
TestJWTExpOverride
(t *testing.T)
gateway/mw_jwt_test.go:3170
Function
TestJWTExtraClaimsValidation
(t *testing.T)
gateway/mw_jwt_test.go:1404
Function
TestJWTFlatClaimsBackwardCompatibility
TestJWTFlatClaimsBackwardCompatibility tests that flat claims still work
gateway/mw_jwt_nested_claims_test.go:321
Function
TestJWTHMACIdInSubClaim
(t *testing.T)
gateway/mw_jwt_test.go:198
Function
TestJWTHMACIdNewClaim
(t *testing.T)
gateway/mw_jwt_test.go:2692
Function
TestJWTLiteralDotInClaimName
TestJWTLiteralDotInClaimName tests backward compatibility for literal dots in claim names
gateway/mw_jwt_nested_claims_test.go:412
Function
TestJWTMiddleware_InitThenUnload
(t *testing.T)
gateway/mw_jwt_test.go:3645
Function
TestJWTMiddleware_Init_WithReadableDuration
(t *testing.T)
gateway/mw_jwt_test.go:4279
Function
TestJWTMiddleware_JWKWithProxyAndMTLS
(t *testing.T)
gateway/mw_external_oauth_integration_test.go:265
Function
TestJWTMiddleware_findCacheTimeoutByURL_WithReadableDuration
(t *testing.T)
gateway/mw_jwt_test.go:4202
Function
TestJWTMiddleware_getScopeClaimNameOAS
TestJWTMiddleware_getScopeClaimNameOAS tests the getScopeClaimNameOAS function with various scenarios
gateway/mw_jwt_test.go:4099
Function
TestJWTMiddleware_getSecretFromMultipleJWKURIs_WithReadableDuration
(_ *testing.T)
gateway/mw_jwt_test.go:4285
Function
TestJWTMiddleware_getSecretToVerifySignature_JWKNoKID
(t *testing.T)
gateway/mw_jwt_test.go:3604
Function
TestJWTMultipleNestedPolicyClaimsPriority
TestJWTMultipleNestedPolicyClaimsPriority tests priority order when multiple policy claims are configured
gateway/mw_jwt_nested_claims_test.go:267
Function
TestJWTNestedBasePolicyClaim
TestJWTNestedBasePolicyClaim tests nested base policy claim
gateway/mw_jwt_nested_claims_test.go:142
Function
TestJWTNestedClaimEmptyString
TestJWTNestedScopesClaim_NoRegression tests that existing scope functionality still works NOTE: Scopes already support nested claims (existing functio
gateway/mw_jwt_nested_claims_test.go:194
Function
TestJWTNestedClaimNonString
TestJWTNestedClaimNonString tests fallback when nested claim has non-string value
gateway/mw_jwt_nested_claims_test.go:226
Function
TestJWTNestedClaims_CustomerScenario
TestJWTNestedClaims_CustomerScenario tests the real customer scenario from the ticket
gateway/mw_jwt_nested_claims_test.go:360
Function
TestJWTNestedSubjectClaimMultiLevel
TestJWTNestedSubjectClaimMultiLevel tests nested subject claim with multiple levels
gateway/mw_jwt_nested_claims_test.go:60
Function
TestJWTNestedSubjectClaimSingleLevel
TestJWTNestedSubjectClaimSingleLevel tests nested subject claim with single level nesting
gateway/mw_jwt_nested_claims_test.go:16
Function
TestJWTNestedSubjectClaimWithFallback
TestJWTNestedSubjectClaimWithFallback tests fallback behavior when nested claim is not found
gateway/mw_jwt_nested_claims_test.go:101
Function
TestJWTRSAIdInClaimsWithBaseField
(t *testing.T)
gateway/mw_jwt_test.go:2706
Function
TestJWTRSAIdInClaimsWithoutBaseField
(t *testing.T)
gateway/mw_jwt_test.go:2811
Function
TestJWTRSAIdInSubClaim
(t *testing.T)
gateway/mw_jwt_test.go:235
Function
TestJWTRSAInvalidPublickKey
(t *testing.T)
gateway/mw_jwt_test.go:3118
Function
TestJWTScopeToPolicyMapping
(t *testing.T)
gateway/mw_jwt_test.go:1728
Function
TestJWTSessionExpiresAtValidationConfigs
(t *testing.T)
gateway/mw_jwt_test.go:659
Function
TestJWTSessionFailRSA_EmptyJWT
(t *testing.T)
gateway/mw_jwt_test.go:297
Function
TestJWTSessionFailRSA_MalformedJWT
(t *testing.T)
gateway/mw_jwt_test.go:327
Function
TestJWTSessionFailRSA_MalformedJWT_NOTRACK
(t *testing.T)
gateway/mw_jwt_test.go:344
Function
TestJWTSessionFailRSA_NoAuthHeader
(t *testing.T)
gateway/mw_jwt_test.go:312
Function
TestJWTSessionFailRSA_WrongJWT
(t *testing.T)
gateway/mw_jwt_test.go:362
Function
TestJWTSessionFailRSA_WrongJWT_Signature
(t *testing.T)
gateway/mw_jwt_test.go:394
← previous
next →
7,001–7,100 of 9,242, ranked by callers