MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

FunctionTestJWTSessionHMAC
(t *testing.T)
gateway/mw_jwt_test.go:166
FunctionTestJWTSessionIssueAtValidationConfigs
(t *testing.T)
gateway/mw_jwt_test.go:746
FunctionTestJWTSessionNotBeforeValidationConfigs
(t *testing.T)
gateway/mw_jwt_test.go:845
FunctionTestJWTSessionRSA
(t *testing.T)
gateway/mw_jwt_test.go:266
FunctionTestJWTSessionRSABearer
(t *testing.T)
gateway/mw_jwt_test.go:379
FunctionTestJWTSessionRSABearerInvalid
(t *testing.T)
gateway/mw_jwt_test.go:429
FunctionTestJWTSessionRSABearerInvalidTwoBears
(t *testing.T)
gateway/mw_jwt_test.go:446
FunctionTestJWTSessionRSAWithEncodedJWK
(t *testing.T)
gateway/mw_jwt_test.go:2503
FunctionTestJWTSessionRSAWithJWK
(t *testing.T)
gateway/mw_jwt_test.go:2291
FunctionTestJWTSessionRSAWithRawSource
(t *testing.T)
gateway/mw_jwt_test.go:588
FunctionTestJWTSessionRSAWithRawSourceInvalidPolicyID
(t *testing.T)
gateway/mw_jwt_test.go:623
FunctionTestJWTSessionRSAWithRawSourceOnWithClientID
(t *testing.T)
gateway/mw_jwt_test.go:522
FunctionTestJWTUnknownSign
(t *testing.T)
gateway/mw_jwt_test.go:3104
FunctionTestJWTWithTykExtensionButNoComponents
TestJWTWithTykExtensionButNoComponents tests JWT configured in Tyk extension but no OpenAPI components
gateway/mw_auth_or_wrapper_test.go:2457
FunctionTestJWT_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
FunctionTestJWT_ExtractOAuthClientIDForDCR
(t *testing.T)
gateway/mw_jwt_test.go:3991
FunctionTestJWT_Import
(t *testing.T)
apidef/oas/default_test.go:2169
FunctionTestJWT_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
FunctionTestJWT_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
FunctionTestJWT_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
FunctionTestJWT_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
FunctionTestJWT_TraditionalAuth_ExistingSessionNoPolicyInToken
TestJWT_TraditionalAuth_ExistingSessionNoPolicyInToken tests the traditional JWT authentication flow (no scope mapping) where existing sessions should
gateway/mw_jwt_test.go:4909
FunctionTestJanitor
TestJanitor verifies that the Janitor executes the cleanup function periodically and stops when closed.
internal/cache/janitor_test.go:13
FunctionTestJanitor_MultipleClose
(t *testing.T)
internal/cache/janitor_test.go:36
FunctionTestKeepAliveConns
(t *testing.T)
gateway/gateway_test.go:1638
FunctionTestKeyHandler
(t *testing.T)
gateway/api_test.go:277
FunctionTestKeyHandler_CheckKeysNotDuplicateOnUpdate
(t *testing.T)
gateway/api_test.go:899
FunctionTestKeyHandler_DeleteKeyWithQuota
(t *testing.T)
gateway/api_test.go:718
FunctionTestKeyHandler_HashingDisabled
(t *testing.T)
gateway/api_test.go:1436
FunctionTestKeyHandler_UpdateKey
(t *testing.T)
gateway/api_test.go:487
FunctionTestKeyImmutabilityChangeBuilderState
(t *testing.T)
regexp/keybuilder_test.go:23
FunctionTestKeyImmutabilityReset
(t *testing.T)
regexp/keybuilder_test.go:11
FunctionTestKeyInactiveWithoutPolicy
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
FunctionTestKeyInactiveWithoutPolicyWithCache
TestKeyInactiveWithoutPolicyWithCache tests the same scenario but with session cache enabled to ensure cache invalidation works correctly.
gateway/mw_key_expired_check_test.go:72
FunctionTestKeyRetentionPeriod
(t *testing.T)
apidef/oas/authentication_test.go:156
FunctionTestKeyWithCertificateTLS
(t *testing.T)
gateway/cert_test.go:1347
FunctionTestLegacyCipherSuites
(t *testing.T)
internal/crypto/ciphers_test.go:62
FunctionTestLegacyHeaderInjectorWithResponseProcessorOptions
(t *testing.T)
gateway/res_handler_header_injector_test.go:201
FunctionTestLegacyMode_ANDLogicWithinSingleRequirement
TestLegacyMode_ANDLogicWithinSingleRequirement tests AND logic within a single requirement in legacy mode
gateway/mw_auth_or_wrapper_test.go:448
FunctionTestLegacyMode_BackwardCompatibility
TestLegacyMode_BackwardCompatibility tests that legacy mode is the default
gateway/mw_auth_or_wrapper_test.go:60
FunctionTestLegacyMode_OnlyFirstRequirementProcessed
TestLegacyMode_OnlyFirstRequirementProcessed tests that only the first requirement is used in legacy mode
gateway/mw_auth_or_wrapper_test.go:292
FunctionTestLint
(t *testing.T)
cli/linter/linter_test.go:111
FunctionTestListWebhookCredentialsMultipleApps
(t *testing.T)
internal/portal/portal_test.go:47
FunctionTestListenPath
(t *testing.T)
apidef/oas/server_test.go:47
FunctionTestListenPathTykPrefix
(t *testing.T)
gateway/gateway_test.go:677
FunctionTestListener
(t *testing.T)
gateway/gateway_test.go:412
FunctionTestListenerWithStrictRoutes
(t *testing.T)
gateway/gateway_test.go:451
FunctionTestLoad
(t *testing.T)
trace/openzipkin/config_test.go:9
FunctionTestLoad
(t *testing.T)
trace/jaeger/config_test.go:13
FunctionTestLoadAPISpec
(t *testing.T)
tests/regression/regression_test.go:36
FunctionTestLoadBalancing
(t *testing.T)
apidef/oas/upstream_test.go:735
FunctionTestLoadBalancingWeightZeroTargets
(t *testing.T)
apidef/oas/upstream_test.go:932
FunctionTestLoadJaeger
(t *testing.T)
config/opentracing_custom_env_loader_test.go:68
FunctionTestLoadPlugin
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
FunctionTestLoadPoliciesFromDashboardAutoRecovery
TestLoadPoliciesFromDashboardAutoRecovery tests that nonce desynchronization automatically recovers without manual intervention
gateway/policy_test.go:728
FunctionTestLoadPoliciesFromDashboardInvalidSecret
TestLoadPoliciesFromDashboardInvalidSecret tests Case 2.1 - Invalid Dashboard Secret
gateway/policy_test.go:875
FunctionTestLoadPoliciesFromDashboardLoadBalancerDrain
TestLoadPoliciesFromDashboardLoadBalancerDrain tests various load balancer drain scenarios
gateway/policy_test.go:1298
FunctionTestLoadPoliciesFromDashboardNetworkErrorRecovery
TestLoadPoliciesFromDashboardNetworkErrorRecovery tests auto-recovery from network errors
gateway/policy_test.go:1221
FunctionTestLoadPoliciesFromDashboardNetworkErrors
TestLoadPoliciesFromDashboardNetworkErrors tests various network error scenarios
gateway/policy_test.go:1110
FunctionTestLoadPoliciesFromDashboardNoDashServiceFallback
TestLoadPoliciesFromDashboardNoDashServiceFallback tests graceful fallback when DashService unavailable
gateway/policy_test.go:1009
FunctionTestLoadPoliciesFromDashboardNoNodeIDFound
TestLoadPoliciesFromDashboardNoNodeIDFound tests that missing node ID error triggers auto-recovery
gateway/policy_test.go:1035
FunctionTestLoadPoliciesFromDashboardNonceEmptyAfterFailedRecovery
TestLoadPoliciesFromDashboardNonceEmptyAfterFailedRecovery tests the scenario where the gateway tries to recover from nonce error but creates a "Nonce
gateway/policy_test.go:803
FunctionTestLoadPoliciesFromDashboardReLogin
(t *testing.T)
gateway/policy_test.go:26
FunctionTestLoadPoliciesFromDashboardServerError
TestLoadPoliciesFromDashboardServerError tests Case 2.3 - Server Error (Redis unavailable simulation)
gateway/policy_test.go:902
FunctionTestLoadPoliciesFromDashboardTimeoutSimulation
TestLoadPoliciesFromDashboardTimeoutSimulation tests timeout scenario (Case 1.1 simulation)
gateway/policy_test.go:929
FunctionTestLoadPoliciesFromRPC
(t *testing.T)
gateway/server_test.go:1055
FunctionTestLoadZipkin
(t *testing.T)
config/opentracing_custom_env_loader_test.go:11
FunctionTestLoad_URLRewrite
TestLoad_URLRewrite(t *testing.T) - Loads the urlRewrite OAS spec with tyk extensions
apidef/oas/import_test.go:21
FunctionTestLoad_tracing
(t *testing.T)
config/config_test.go:212
FunctionTestLock
(t *testing.T)
storage/redis_cluster_test.go:225
FunctionTestLogEventHandlerConf_Scan
(t *testing.T)
apidef/api_definitions_test.go:350
FunctionTestLogMessageEventHandler
(t *testing.T)
gateway/event_system_test.go:123
FunctionTestLogMessageEventHandler_Init
(t *testing.T)
gateway/event_handler_log_test.go:9
FunctionTestLongerListenPathHasLongerDomainThanSubstringListenPath
section A - end section B - start
gateway/api_loader_test.go:850
FunctionTestLongerListenPathHasLongerDomainThanSubstringListenPathWithStripListenPathDisabled
section A3 - end section B3 - start
gateway/api_loader_test.go:5264
FunctionTestLongerListenPathHasLongerDomainThanSubstringListenPathWithStripListenPathDisabledAndStripSlashEnabled
section A4 - end section B4 - start
gateway/api_loader_test.go:7474
FunctionTestLongerListenPathHasLongerDomainThanSubstringListenPathWithStripSlashEnabled
section A2 - end section B2 - start
gateway/api_loader_test.go:3055
FunctionTestLooping
(t *testing.T)
gateway/looping_test.go:21
FunctionTestLoopingUrl
(t *testing.T)
gateway/mw_url_rewrite_test.go:1326
FunctionTestLooping_AnotherAPIWithAuthTokens
(t *testing.T)
gateway/looping_test.go:330
FunctionTestMQTT
(t *testing.T)
gateway/mw_streaming_mqtt_test.go:81
FunctionTestMTLSConfig_IsCertificateStoreConfig
(t *testing.T)
config/external_service_test.go:548
FunctionTestMTLSConfig_IsFileBasedConfig
(t *testing.T)
config/external_service_test.go:490
FunctionTestMTLSConfig_JSONWithCertificateStore
(t *testing.T)
config/external_service_test.go:606
FunctionTestMTLSConfig_Validate
(t *testing.T)
config/external_service_test.go:369
FunctionTestMTLSConfig_Validation
(t *testing.T)
config/external_service_test.go:126
FunctionTestMain
(m *testing.M)
dlpython/main_test.go:10
FunctionTestMain
(m *testing.M)
coprocess/coprocess_test.go:37
FunctionTestMain
(m *testing.M)
coprocess/python/coprocess_python_test.go:229
FunctionTestMain
(m *testing.M)
coprocess/grpc/coprocess_grpc_test.go:323
FunctionTestMain
(m *testing.M)
storage/redis_cluster_test.go:22
FunctionTestMain
(m *testing.M)
cli/linter/linter_test.go:16
FunctionTestMain
(m *testing.M)
cli/bundler/bundler_test.go:34
FunctionTestMain
(m *testing.M)
internal/graphql/otel_graphql_engine_detailed_test.go:53
FunctionTestMain
(m *testing.M)
rpc/synchronization_forcer_test.go:18
FunctionTestMain
(m *testing.M)
gateway/gateway_test.go:35
FunctionTestManagementNodeRedisEvents
(t *testing.T)
gateway/gateway_test.go:557
FunctionTestMarshalJSON
(t *testing.T)
test/json_test.go:9
FunctionTestMascotShowsUpOnceOnly
(t *testing.T)
gateway/mascot_test.go:12
FunctionTestMasherySha256Sum_Hash
(t *testing.T)
signature_validator/hash_test.go:15
← previousnext →7,101–7,200 of 9,242, ranked by callers