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
TestJWTSessionHMAC
(t *testing.T)
gateway/mw_jwt_test.go:166
Function
TestJWTSessionIssueAtValidationConfigs
(t *testing.T)
gateway/mw_jwt_test.go:746
Function
TestJWTSessionNotBeforeValidationConfigs
(t *testing.T)
gateway/mw_jwt_test.go:845
Function
TestJWTSessionRSA
(t *testing.T)
gateway/mw_jwt_test.go:266
Function
TestJWTSessionRSABearer
(t *testing.T)
gateway/mw_jwt_test.go:379
Function
TestJWTSessionRSABearerInvalid
(t *testing.T)
gateway/mw_jwt_test.go:429
Function
TestJWTSessionRSABearerInvalidTwoBears
(t *testing.T)
gateway/mw_jwt_test.go:446
Function
TestJWTSessionRSAWithEncodedJWK
(t *testing.T)
gateway/mw_jwt_test.go:2503
Function
TestJWTSessionRSAWithJWK
(t *testing.T)
gateway/mw_jwt_test.go:2291
Function
TestJWTSessionRSAWithRawSource
(t *testing.T)
gateway/mw_jwt_test.go:588
Function
TestJWTSessionRSAWithRawSourceInvalidPolicyID
(t *testing.T)
gateway/mw_jwt_test.go:623
Function
TestJWTSessionRSAWithRawSourceOnWithClientID
(t *testing.T)
gateway/mw_jwt_test.go:522
Function
TestJWTUnknownSign
(t *testing.T)
gateway/mw_jwt_test.go:3104
Function
TestJWTWithTykExtensionButNoComponents
TestJWTWithTykExtensionButNoComponents tests JWT configured in Tyk extension but no OpenAPI components
gateway/mw_auth_or_wrapper_test.go:2457
Function
TestJWT_BackwardCompatibility_DefaultPoliciesStillWork
TestJWT_BackwardCompatibility_DefaultPoliciesStillWork tests that the fix doesn't break existing behavior when default policies ARE configured.
gateway/mw_jwt_test.go:4705
Function
TestJWT_ExtractOAuthClientIDForDCR
(t *testing.T)
gateway/mw_jwt_test.go:3991
Function
TestJWT_Import
(t *testing.T)
apidef/oas/default_test.go:2169
Function
TestJWT_NoDefaultPolicies_NoScopeMapping_NoPolicyClaim
TestJWT_NoDefaultPolicies_NoScopeMapping_NoPolicyClaim tests that JWT authentication properly rejects when NO policies can be determined (no defaults,
gateway/mw_jwt_test.go:4572
Function
TestJWT_ScopeMappingOnly_NoDefaultPolicies
TestJWT_ScopeMappingOnly_NoDefaultPolicies tests that JWT authentication works with only scope-to-policy mapping and NO default policies configured. T
gateway/mw_jwt_test.go:4398
Function
TestJWT_ScopeMappingWithPartialMatch
TestJWT_ScopeMappingWithPartialMatch tests that JWT authentication works when some scopes match and some don't (partial match scenario).
gateway/mw_jwt_test.go:4612
Function
TestJWT_SecurityFix_ExistingSessionNoScopeNoPolicy
TestJWT_SecurityFix_ExistingSessionNoScopeNoPolicy tests the security fix for existing sessions that should be rejected when presented with a token th
gateway/mw_jwt_test.go:4800
Function
TestJWT_TraditionalAuth_ExistingSessionNoPolicyInToken
TestJWT_TraditionalAuth_ExistingSessionNoPolicyInToken tests the traditional JWT authentication flow (no scope mapping) where existing sessions should
gateway/mw_jwt_test.go:4909
Function
TestJanitor
TestJanitor verifies that the Janitor executes the cleanup function periodically and stops when closed.
internal/cache/janitor_test.go:13
Function
TestJanitor_MultipleClose
(t *testing.T)
internal/cache/janitor_test.go:36
Function
TestKeepAliveConns
(t *testing.T)
gateway/gateway_test.go:1638
Function
TestKeyHandler
(t *testing.T)
gateway/api_test.go:277
Function
TestKeyHandler_CheckKeysNotDuplicateOnUpdate
(t *testing.T)
gateway/api_test.go:899
Function
TestKeyHandler_DeleteKeyWithQuota
(t *testing.T)
gateway/api_test.go:718
Function
TestKeyHandler_HashingDisabled
(t *testing.T)
gateway/api_test.go:1436
Function
TestKeyHandler_UpdateKey
(t *testing.T)
gateway/api_test.go:487
Function
TestKeyImmutabilityChangeBuilderState
(t *testing.T)
regexp/keybuilder_test.go:23
Function
TestKeyImmutabilityReset
(t *testing.T)
regexp/keybuilder_test.go:11
Function
TestKeyInactiveWithoutPolicy
TestKeyInactiveWithoutPolicy tests the scenario where a key without policy is set to inactive via API and should be rejected by the gateway. This is a
gateway/mw_key_expired_check_test.go:16
Function
TestKeyInactiveWithoutPolicyWithCache
TestKeyInactiveWithoutPolicyWithCache tests the same scenario but with session cache enabled to ensure cache invalidation works correctly.
gateway/mw_key_expired_check_test.go:72
Function
TestKeyRetentionPeriod
(t *testing.T)
apidef/oas/authentication_test.go:156
Function
TestKeyWithCertificateTLS
(t *testing.T)
gateway/cert_test.go:1347
Function
TestLegacyCipherSuites
(t *testing.T)
internal/crypto/ciphers_test.go:62
Function
TestLegacyHeaderInjectorWithResponseProcessorOptions
(t *testing.T)
gateway/res_handler_header_injector_test.go:201
Function
TestLegacyMode_ANDLogicWithinSingleRequirement
TestLegacyMode_ANDLogicWithinSingleRequirement tests AND logic within a single requirement in legacy mode
gateway/mw_auth_or_wrapper_test.go:448
Function
TestLegacyMode_BackwardCompatibility
TestLegacyMode_BackwardCompatibility tests that legacy mode is the default
gateway/mw_auth_or_wrapper_test.go:60
Function
TestLegacyMode_OnlyFirstRequirementProcessed
TestLegacyMode_OnlyFirstRequirementProcessed tests that only the first requirement is used in legacy mode
gateway/mw_auth_or_wrapper_test.go:292
Function
TestLint
(t *testing.T)
cli/linter/linter_test.go:111
Function
TestListWebhookCredentialsMultipleApps
(t *testing.T)
internal/portal/portal_test.go:47
Function
TestListenPath
(t *testing.T)
apidef/oas/server_test.go:47
Function
TestListenPathTykPrefix
(t *testing.T)
gateway/gateway_test.go:677
Function
TestListener
(t *testing.T)
gateway/gateway_test.go:412
Function
TestListenerWithStrictRoutes
(t *testing.T)
gateway/gateway_test.go:451
Function
TestLoad
(t *testing.T)
trace/openzipkin/config_test.go:9
Function
TestLoad
(t *testing.T)
trace/jaeger/config_test.go:13
Function
TestLoadAPISpec
(t *testing.T)
tests/regression/regression_test.go:36
Function
TestLoadBalancing
(t *testing.T)
apidef/oas/upstream_test.go:735
Function
TestLoadBalancingWeightZeroTargets
(t *testing.T)
apidef/oas/upstream_test.go:932
Function
TestLoadJaeger
(t *testing.T)
config/opentracing_custom_env_loader_test.go:68
Function
TestLoadPlugin
TestLoadPlugin test the function to load a middleware goplugin ToDo: find out how to successfully load a plugin for testing
gateway/mw_go_plugin_test.go:13
Function
TestLoadPoliciesFromDashboardAutoRecovery
TestLoadPoliciesFromDashboardAutoRecovery tests that nonce desynchronization automatically recovers without manual intervention
gateway/policy_test.go:728
Function
TestLoadPoliciesFromDashboardInvalidSecret
TestLoadPoliciesFromDashboardInvalidSecret tests Case 2.1 - Invalid Dashboard Secret
gateway/policy_test.go:875
Function
TestLoadPoliciesFromDashboardLoadBalancerDrain
TestLoadPoliciesFromDashboardLoadBalancerDrain tests various load balancer drain scenarios
gateway/policy_test.go:1298
Function
TestLoadPoliciesFromDashboardNetworkErrorRecovery
TestLoadPoliciesFromDashboardNetworkErrorRecovery tests auto-recovery from network errors
gateway/policy_test.go:1221
Function
TestLoadPoliciesFromDashboardNetworkErrors
TestLoadPoliciesFromDashboardNetworkErrors tests various network error scenarios
gateway/policy_test.go:1110
Function
TestLoadPoliciesFromDashboardNoDashServiceFallback
TestLoadPoliciesFromDashboardNoDashServiceFallback tests graceful fallback when DashService unavailable
gateway/policy_test.go:1009
Function
TestLoadPoliciesFromDashboardNoNodeIDFound
TestLoadPoliciesFromDashboardNoNodeIDFound tests that missing node ID error triggers auto-recovery
gateway/policy_test.go:1035
Function
TestLoadPoliciesFromDashboardNonceEmptyAfterFailedRecovery
TestLoadPoliciesFromDashboardNonceEmptyAfterFailedRecovery tests the scenario where the gateway tries to recover from nonce error but creates a "Nonce
gateway/policy_test.go:803
Function
TestLoadPoliciesFromDashboardReLogin
(t *testing.T)
gateway/policy_test.go:26
Function
TestLoadPoliciesFromDashboardServerError
TestLoadPoliciesFromDashboardServerError tests Case 2.3 - Server Error (Redis unavailable simulation)
gateway/policy_test.go:902
Function
TestLoadPoliciesFromDashboardTimeoutSimulation
TestLoadPoliciesFromDashboardTimeoutSimulation tests timeout scenario (Case 1.1 simulation)
gateway/policy_test.go:929
Function
TestLoadPoliciesFromRPC
(t *testing.T)
gateway/server_test.go:1055
Function
TestLoadZipkin
(t *testing.T)
config/opentracing_custom_env_loader_test.go:11
Function
TestLoad_URLRewrite
TestLoad_URLRewrite(t *testing.T) - Loads the urlRewrite OAS spec with tyk extensions
apidef/oas/import_test.go:21
Function
TestLoad_tracing
(t *testing.T)
config/config_test.go:212
Function
TestLock
(t *testing.T)
storage/redis_cluster_test.go:225
Function
TestLogEventHandlerConf_Scan
(t *testing.T)
apidef/api_definitions_test.go:350
Function
TestLogMessageEventHandler
(t *testing.T)
gateway/event_system_test.go:123
Function
TestLogMessageEventHandler_Init
(t *testing.T)
gateway/event_handler_log_test.go:9
Function
TestLongerListenPathHasLongerDomainThanSubstringListenPath
section A - end section B - start
gateway/api_loader_test.go:850
Function
TestLongerListenPathHasLongerDomainThanSubstringListenPathWithStripListenPathDisabled
section A3 - end section B3 - start
gateway/api_loader_test.go:5264
Function
TestLongerListenPathHasLongerDomainThanSubstringListenPathWithStripListenPathDisabledAndStripSlashEnabled
section A4 - end section B4 - start
gateway/api_loader_test.go:7474
Function
TestLongerListenPathHasLongerDomainThanSubstringListenPathWithStripSlashEnabled
section A2 - end section B2 - start
gateway/api_loader_test.go:3055
Function
TestLooping
(t *testing.T)
gateway/looping_test.go:21
Function
TestLoopingUrl
(t *testing.T)
gateway/mw_url_rewrite_test.go:1326
Function
TestLooping_AnotherAPIWithAuthTokens
(t *testing.T)
gateway/looping_test.go:330
Function
TestMQTT
(t *testing.T)
gateway/mw_streaming_mqtt_test.go:81
Function
TestMTLSConfig_IsCertificateStoreConfig
(t *testing.T)
config/external_service_test.go:548
Function
TestMTLSConfig_IsFileBasedConfig
(t *testing.T)
config/external_service_test.go:490
Function
TestMTLSConfig_JSONWithCertificateStore
(t *testing.T)
config/external_service_test.go:606
Function
TestMTLSConfig_Validate
(t *testing.T)
config/external_service_test.go:369
Function
TestMTLSConfig_Validation
(t *testing.T)
config/external_service_test.go:126
Function
TestMain
(m *testing.M)
dlpython/main_test.go:10
Function
TestMain
(m *testing.M)
coprocess/coprocess_test.go:37
Function
TestMain
(m *testing.M)
coprocess/python/coprocess_python_test.go:229
Function
TestMain
(m *testing.M)
coprocess/grpc/coprocess_grpc_test.go:323
Function
TestMain
(m *testing.M)
storage/redis_cluster_test.go:22
Function
TestMain
(m *testing.M)
cli/linter/linter_test.go:16
Function
TestMain
(m *testing.M)
cli/bundler/bundler_test.go:34
Function
TestMain
(m *testing.M)
internal/graphql/otel_graphql_engine_detailed_test.go:53
Function
TestMain
(m *testing.M)
rpc/synchronization_forcer_test.go:18
Function
TestMain
(m *testing.M)
gateway/gateway_test.go:35
Function
TestManagementNodeRedisEvents
(t *testing.T)
gateway/gateway_test.go:557
Function
TestMarshalJSON
(t *testing.T)
test/json_test.go:9
Function
TestMascotShowsUpOnceOnly
(t *testing.T)
gateway/mascot_test.go:12
Function
TestMasherySha256Sum_Hash
(t *testing.T)
signature_validator/hash_test.go:15
← previous
next →
7,101–7,200 of 9,242, ranked by callers