MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

FunctionTestInitGenericEventHandlers
(t *testing.T)
gateway/event_system_test.go:149
FunctionTestInitTriggerRx
(t *testing.T)
gateway/mw_url_rewrite_test.go:1164
FunctionTestIntegration_AND_Groups_With_HMAC
(t *testing.T)
gateway/mw_auth_or_wrapper_test.go:5168
FunctionTestIntegration_AND_JWT_And_APIKey
TestIntegration_AND_JWT_And_APIKey tests AND logic within a security requirement
gateway/mw_auth_or_wrapper_test.go:5003
FunctionTestIntegration_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
FunctionTestIntegration_StandardOAS_APIKey
TestIntegration_StandardOAS_APIKey tests API Key authentication via OAS security scheme
gateway/mw_auth_or_wrapper_test.go:4601
FunctionTestIntegration_StandardOAS_Basic
TestIntegration_StandardOAS_Basic tests Basic Auth via OAS security scheme
gateway/mw_auth_or_wrapper_test.go:4715
FunctionTestIntegration_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
FunctionTestInternalAPIUsage
(t *testing.T)
gateway/api_loader_test.go:65
FunctionTestInternalEndpointMW_TT_11126
(t *testing.T)
gateway/api_definition_test.go:1621
FunctionTestInternalStorages
(t *testing.T)
storage/redis_cluster_test.go:290
FunctionTestInternal_ExtractTo
(t *testing.T)
apidef/oas/internal_test.go:31
FunctionTestInternal_Fill
(t *testing.T)
apidef/oas/internal_test.go:11
FunctionTestInvalidateCache
(t *testing.T)
gateway/api_test.go:1568
FunctionTestIsDNSError
TestIsDNSError tests the isDNSError function
rpc/utils_test.go:107
FunctionTestIsGraphQLProxyOnly
(t *testing.T)
gateway/mw_graphql_test.go:1485
FunctionTestIsGrpcStreaming
(t *testing.T)
internal/httputil/streaming_test.go:43
FunctionTestIsHashType
(t *testing.T)
user/session_test.go:40
FunctionTestIsInOASComponents
(t *testing.T)
apidef/oas/security_test.go:2430
FunctionTestIsInVendorSecurity
(t *testing.T)
apidef/oas/security_test.go:2270
FunctionTestIsMTLSError
TestIsMTLSError tests the IsMTLSError function
internal/httpclient/factory_mtls_security_test.go:330
FunctionTestIsMemberOfSet
(t *testing.T)
storage/redis_cluster_test.go:1749
FunctionTestIsProprietaryAuth
(t *testing.T)
apidef/oas/security_test.go:1536
FunctionTestIsProprietaryAuthScheme
(t *testing.T)
apidef/oas/security_test.go:2153
FunctionTestIsProprietaryInSecuritySchemes
(t *testing.T)
apidef/oas/security_test.go:2381
FunctionTestIsProprietaryInVendor
(t *testing.T)
apidef/oas/security_test.go:2316
FunctionTestIsProprietarySchemeType
(t *testing.T)
apidef/oas/security_test.go:2485
FunctionTestIsProxyOnlyAPIDefinition
(t *testing.T)
apidef/adapter/utils_test.go:68
FunctionTestIsPublicKey
(t *testing.T)
internal/crypto/helpers_test.go:13
FunctionTestIsRaceEnabled
(t *testing.T)
test/race_test.go:5
FunctionTestIsRetriableError
(t *testing.T)
gateway/rpc_storage_handler_test.go:983
FunctionTestIsSseStreamingResponse
(t *testing.T)
internal/httputil/streaming_test.go:49
FunctionTestIsStreamingRequest
(t *testing.T)
internal/httputil/streaming_test.go:71
FunctionTestIsStreamingResponse
(t *testing.T)
internal/httputil/streaming_test.go:77
FunctionTestIsSupergraphAPIDefinition
(t *testing.T)
apidef/adapter/utils_test.go:11
FunctionTestIsUniversalDataGraphAPIDefinition
(t *testing.T)
apidef/adapter/utils_test.go:125
FunctionTestIsUpgrade
(t *testing.T)
internal/httputil/streaming_test.go:54
FunctionTestIsWebsocketUpgrade
(t *testing.T)
gateway/analytics_streams_test.go:25
FunctionTestItem_Expired
(t *testing.T)
internal/cache/item_test.go:10
FunctionTestJQMiddleware
(t *testing.T)
gateway/mw_transform_jq_test.go:28
FunctionTestJSONFormatterErrorHandling
(t *testing.T)
log/log_test.go:72
FunctionTestJSONToFormValues
(t *testing.T)
gateway/oauth_manager_test.go:1276
FunctionTestJSVMBase64
(t *testing.T)
gateway/mw_js_plugin_test.go:686
FunctionTestJSVMBody
(t *testing.T)
gateway/mw_js_plugin_test.go:153
FunctionTestJSVMConfigData
(t *testing.T)
gateway/mw_js_plugin_test.go:376
FunctionTestJSVMEventHandlerConf_Scan
(t *testing.T)
apidef/api_definitions_test.go:328
FunctionTestJSVMEventHandler_Init
(t *testing.T)
gateway/event_handler_jsvm_test.go:9
FunctionTestJSVMLogs
(t *testing.T)
gateway/mw_js_plugin_test.go:101
FunctionTestJSVMProcessTimeout
(t *testing.T)
gateway/mw_js_plugin_test.go:332
FunctionTestJSVMRequestScheme
(t *testing.T)
gateway/mw_js_plugin_test.go:525
FunctionTestJSVMSessionMetadataUpdate
(t *testing.T)
gateway/mw_js_plugin_test.go:194
FunctionTestJSVMStagesRequest
(t *testing.T)
gateway/mw_js_plugin_test.go:750
FunctionTestJSVMUserCore
(t *testing.T)
gateway/mw_js_plugin_test.go:478
FunctionTestJSVM_Auth
(t *testing.T)
gateway/mw_js_plugin_test.go:906
FunctionTestJSVM_IgnoreCanonicalHeader
(t *testing.T)
gateway/mw_js_plugin_test.go:434
FunctionTestJSVM_MultiAuthentication
(t *testing.T)
gateway/mw_js_plugin_test.go:245
FunctionTestJSVM_StopProxyWhenFail
(t *testing.T)
gateway/mw_js_plugin_test.go:27
FunctionTestJWKReadableDurationConversionInRealFunctions
(t *testing.T)
gateway/mw_jwt_test.go:4343
FunctionTestJWKSCache_InvalidateCacheForAPI
(t *testing.T)
gateway/mw_jwt_test.go:2370
FunctionTestJWKSCache_InvalidateJWKSCache
(t *testing.T)
gateway/mw_jwt_test.go:2399
FunctionTestJWK_GetCacheTimeoutSeconds
(t *testing.T)
apidef/jwk_test.go:10
FunctionTestJWTAuthKeyMultiAuth
(t *testing.T)
gateway/multiauth_test.go:303
FunctionTestJWTCustomClaimsValidation
(t *testing.T)
gateway/mw_jwt_test.go:988
FunctionTestJWTDefaultPolicies
(t *testing.T)
gateway/mw_jwt_test.go:2868
FunctionTestJWTECDSASign
(t *testing.T)
gateway/mw_jwt_test.go:3090
FunctionTestJWTExistingSessionRSAWithRawSourceInvalidPolicyID
(t *testing.T)
gateway/mw_jwt_test.go:925
FunctionTestJWTExistingSessionRSAWithRawSourcePolicyIDChanged
(t *testing.T)
gateway/mw_jwt_test.go:2160
FunctionTestJWTExpOverride
(t *testing.T)
gateway/mw_jwt_test.go:3170
FunctionTestJWTExtraClaimsValidation
(t *testing.T)
gateway/mw_jwt_test.go:1404
FunctionTestJWTFlatClaimsBackwardCompatibility
TestJWTFlatClaimsBackwardCompatibility tests that flat claims still work
gateway/mw_jwt_nested_claims_test.go:321
FunctionTestJWTHMACIdInSubClaim
(t *testing.T)
gateway/mw_jwt_test.go:198
FunctionTestJWTHMACIdNewClaim
(t *testing.T)
gateway/mw_jwt_test.go:2692
FunctionTestJWTLiteralDotInClaimName
TestJWTLiteralDotInClaimName tests backward compatibility for literal dots in claim names
gateway/mw_jwt_nested_claims_test.go:412
FunctionTestJWTMiddleware_InitThenUnload
(t *testing.T)
gateway/mw_jwt_test.go:3645
FunctionTestJWTMiddleware_Init_WithReadableDuration
(t *testing.T)
gateway/mw_jwt_test.go:4279
FunctionTestJWTMiddleware_JWKWithProxyAndMTLS
(t *testing.T)
gateway/mw_external_oauth_integration_test.go:265
FunctionTestJWTMiddleware_findCacheTimeoutByURL_WithReadableDuration
(t *testing.T)
gateway/mw_jwt_test.go:4202
FunctionTestJWTMiddleware_getScopeClaimNameOAS
TestJWTMiddleware_getScopeClaimNameOAS tests the getScopeClaimNameOAS function with various scenarios
gateway/mw_jwt_test.go:4099
FunctionTestJWTMiddleware_getSecretFromMultipleJWKURIs_WithReadableDuration
(_ *testing.T)
gateway/mw_jwt_test.go:4285
FunctionTestJWTMiddleware_getSecretToVerifySignature_JWKNoKID
(t *testing.T)
gateway/mw_jwt_test.go:3604
FunctionTestJWTMultipleNestedPolicyClaimsPriority
TestJWTMultipleNestedPolicyClaimsPriority tests priority order when multiple policy claims are configured
gateway/mw_jwt_nested_claims_test.go:267
FunctionTestJWTNestedBasePolicyClaim
TestJWTNestedBasePolicyClaim tests nested base policy claim
gateway/mw_jwt_nested_claims_test.go:142
FunctionTestJWTNestedClaimEmptyString
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
FunctionTestJWTNestedClaimNonString
TestJWTNestedClaimNonString tests fallback when nested claim has non-string value
gateway/mw_jwt_nested_claims_test.go:226
FunctionTestJWTNestedClaims_CustomerScenario
TestJWTNestedClaims_CustomerScenario tests the real customer scenario from the ticket
gateway/mw_jwt_nested_claims_test.go:360
FunctionTestJWTNestedSubjectClaimMultiLevel
TestJWTNestedSubjectClaimMultiLevel tests nested subject claim with multiple levels
gateway/mw_jwt_nested_claims_test.go:60
FunctionTestJWTNestedSubjectClaimSingleLevel
TestJWTNestedSubjectClaimSingleLevel tests nested subject claim with single level nesting
gateway/mw_jwt_nested_claims_test.go:16
FunctionTestJWTNestedSubjectClaimWithFallback
TestJWTNestedSubjectClaimWithFallback tests fallback behavior when nested claim is not found
gateway/mw_jwt_nested_claims_test.go:101
FunctionTestJWTRSAIdInClaimsWithBaseField
(t *testing.T)
gateway/mw_jwt_test.go:2706
FunctionTestJWTRSAIdInClaimsWithoutBaseField
(t *testing.T)
gateway/mw_jwt_test.go:2811
FunctionTestJWTRSAIdInSubClaim
(t *testing.T)
gateway/mw_jwt_test.go:235
FunctionTestJWTRSAInvalidPublickKey
(t *testing.T)
gateway/mw_jwt_test.go:3118
FunctionTestJWTScopeToPolicyMapping
(t *testing.T)
gateway/mw_jwt_test.go:1728
FunctionTestJWTSessionExpiresAtValidationConfigs
(t *testing.T)
gateway/mw_jwt_test.go:659
FunctionTestJWTSessionFailRSA_EmptyJWT
(t *testing.T)
gateway/mw_jwt_test.go:297
FunctionTestJWTSessionFailRSA_MalformedJWT
(t *testing.T)
gateway/mw_jwt_test.go:327
FunctionTestJWTSessionFailRSA_MalformedJWT_NOTRACK
(t *testing.T)
gateway/mw_jwt_test.go:344
FunctionTestJWTSessionFailRSA_NoAuthHeader
(t *testing.T)
gateway/mw_jwt_test.go:312
FunctionTestJWTSessionFailRSA_WrongJWT
(t *testing.T)
gateway/mw_jwt_test.go:362
FunctionTestJWTSessionFailRSA_WrongJWT_Signature
(t *testing.T)
gateway/mw_jwt_test.go:394
← previousnext →7,001–7,100 of 9,242, ranked by callers