MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 5 callersFunctiongetUserIDFromClaim
getUserIDFromClaim parses jwt claims and get the userID from provided identityBaseField.
gateway/mw_jwt.go:1571
↓ 5 callersMethodgetVersionFromRequest
(r *http.Request)
gateway/api_definition.go:1537
↓ 5 callersFunctiongh
(a)
templates/playground/playground.js:1290
↓ 5 callersFunctiongi
(a,b,c,d,e)
templates/playground/playground.js:1290
↓ 5 callersFunctiongraphqlDataSourceConfiguration
(url string, method string, headers map[string]string, subscriptionType apidef.SubscriptionType, sseUsePost bo
apidef/adapter/gqlengineadapter/utils_engine_v2.go:24
↓ 5 callersMethodhandleDeleteKey
(keyName, orgID, apiID string, resetQuota bool)
gateway/api.go:759
↓ 5 callersMethodimportAuthentication
(enable bool)
apidef/oas/default.go:177
↓ 5 callersFunctionindentLine
(cm,n,how,aggressive)
templates/playground/playground.js:149
↓ 5 callersMethodinitShutdownContext
initShutdownContext initializes the shutdown context if not already done
tcp/tcp.go:146
↓ 5 callersFunctionisExpired
(claims jwt.MapClaims)
gateway/mw_external_oauth.go:299
↓ 5 callersFunctionisLine
(doc,l)
templates/playground/playground.js:149
↓ 5 callersMethodisProprietaryInVendor
isProprietaryInVendor determines if a scheme in vendor security is proprietary
apidef/oas/security.go:982
↓ 5 callersMethodisTimeStampExpired
(timestamp string)
gateway/mw_redis_cache.go:118
↓ 5 callersFunctionji
(a)
templates/playground/playground.js:1290
↓ 5 callersMethodlogs
logs extract logs for unit test cases
gateway/tracing.go:83
↓ 5 callersFunctionmakeChange
(doc,change,ignoreReadOnly)
templates/playground/playground.js:149
↓ 5 callersFunctionmakeParams
(kvs map[string]string)
internal/service/newrelic/sink.go:43
↓ 5 callersFunctionmarkText
(doc,from,to,options,type)
templates/playground/playground.js:149
↓ 5 callersFunctionmeasureForScrollbars
(cm)
templates/playground/playground.js:149
↓ 5 callersMethodmergeFrom
(com.google.protobuf.Message other)
coprocess/bindings/java/CoprocessMiniRequestObject.java:1471
↓ 5 callersFunctionmoveOnce
(boundToLine)
templates/playground/playground.js:149
↓ 5 callersFunctionmoveSel
(cm,dir)
templates/playground/playground.js:105
↓ 5 callersFunctionnb
(a)
templates/playground/playground.js:1311
↓ 5 callersMethodnewBuilderForType
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:1278
↓ 5 callersFunctionnewTestReverseProxyPreHandlerV2
(t *testing.T)
internal/graphengine/graphql_go_tools_v2_test.go:165
↓ 5 callersFunctionni
(a,b)
templates/playground/playground.js:1290
↓ 5 callersFunctionoauthClientStorageID
(clientID string)
gateway/api.go:2174
↓ 5 callersFunctionoh
(a,b)
templates/playground/playground.js:1290
↓ 5 callersFunctiononBlur
(cm,e)
templates/playground/playground.js:149
↓ 5 callersFunctionp
()
templates/playground/playground.js:149
↓ 5 callersFunctionparseJWTKey
parseJWTKey parses JWT key based on signing Method
gateway/mw_jwt.go:1509
↓ 5 callersFunctionparseSchema
(schemaAsString string)
apidef/adapter/gqlengineadapter/utils.go:19
↓ 5 callersMethodprintDef
(def *apidef.APIDefinition)
cli/importer/importer.go:276
↓ 5 callersFunctionpushRule
(rules,state,ruleKind)
templates/playground/playground.js:393
↓ 5 callersFunctionrc
(a,b,c,d,e)
templates/playground/playground.js:1290
↓ 5 callersFunctionreadToken
(mode,stream,state,inner)
templates/playground/playground.js:149
↓ 5 callersMethodreportLoginFailure
(tykId string, r *http.Request)
gateway/mw_openid.go:247
↓ 5 callersFunctionrk
(a)
templates/playground/playground.js:1290
↓ 5 callersFunctionrmClass
(node,cls)
templates/playground/playground.js:149
↓ 5 callersFunctionscanCacheKeys
(t *testing.T, storageConnHandler *storage.ConnectionHandler, apiID string, expectEmtpy bool)
tests/regression/issue_11585_test.go:94
↓ 5 callersFunctionscrollToCoords
(cm,x,y)
templates/playground/playground.js:149
↓ 5 callersMethodsetField
( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
coprocess/bindings/java/CoprocessSessionState.java:2877
↓ 5 callersMethodsetRepeatedField
( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
coprocess/bindings/java/CoprocessSessionState.java:2890
↓ 5 callersFunctionsetScopesIfEmpty
(flow *openapi3.OAuthFlow)
apidef/oas/security.go:1643
↓ 5 callersFunctionsetUpStreamAPI
(ts *Test, apiName string, streamConfig string)
gateway/mw_streaming_test.go:371
↓ 5 callersFunctionsetupTest
(t *testing.T)
storage/mdcb_storage_test.go:35
↓ 5 callersFunctionskip
(k)
templates/playground/playground.js:77
↓ 5 callersFunctionspansFor
(n)
templates/playground/playground.js:149
↓ 5 callersFunctionstartWorker
(cm,time)
templates/playground/playground.js:149
↓ 5 callersFunctionstripBearer
(token string)
gateway/mw_auth_key.go:259
↓ 5 callersFunctionstrval
(in any)
apidef/oas/fixtures_test.go:352
↓ 5 callersFunctiontestPrepareHMACAuthSessionPass
(tb testing.TB, ts *Test, hashFn func() hash.Hash, eventWG *sync.WaitGroup, withHeader bool, isBench bool)
gateway/mw_http_signature_validation_test.go:127
↓ 5 callersFunctiontimeValidateJWTClaims
timeValidateJWTClaims validates JWT with provided clock skew, to overcome skew occurred with distributed systems.
gateway/mw_jwt.go:1543
↓ 5 callersFunctionue
(a)
templates/playground/playground.js:1290
↓ 5 callersFunctionupdateScrollTop
(cm,val)
templates/playground/playground.js:149
↓ 5 callersMethodurlRewrite
(meta *apidef.URLRewriteMeta, r *http.Request)
gateway/mw_url_rewrite.go:42
↓ 5 callersFunctionverifyOASOperation
Helper function to verify OpenAPI operation responses
apidef/oas/operation_test.go:1037
↓ 5 callersFunctionwidgetHeight
(widget)
templates/playground/playground.js:149
↓ 4 callersFunction$c
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callersFunctionAdd
Add adds an event to the request context. Add adds an event to the context value in the request.
internal/event/event.go:114
↓ 4 callersMethodAppendInt
(n int)
regexp/keybuilder.go:63
↓ 4 callersMethodAppendToSet
(keyName, value string)
storage/redis_cluster.go:697
↓ 4 callersMethodAppendToSetPipelined
(key string, values [][]byte)
storage/redis_cluster.go:782
↓ 4 callersMethodApply
Apply will check if any policies are loaded. If any are, it will overwrite the session state to use the policy values.
internal/policy/apply.go:80
↓ 4 callersMethodApplyLifetime
ApplyLifetime calculates the lifetime for the key. It considers the access rights and the bigger lifetime will be used
gateway/api.go:295
↓ 4 callersFunctionBb
(a)
templates/playground/playground.js:1290
↓ 4 callersFunctionBuildMetadataMap
(token *oauth2.Token, extraMetadataKeys []string)
ee/middleware/upstreamoauth/token_cache.go:81
↓ 4 callersMethodBuildRequest
(reqBody string)
gateway/event_handler_webhooks.go:232
↓ 4 callersMethodCacheOptions
CacheOptions returns the timeout value in effect and a bool if cache is enabled.
apidef/oas/upstream.go:527
↓ 4 callersMethodChannel
Channel returns the channel the message was received on.
gateway/testutil.go:2080
↓ 4 callersFunctionCompilePOSIX
CompilePOSIX does the same as regexp.CompilePOSIX but returns cached *Regexp instead.
regexp/regexp.go:56
↓ 4 callersMethodConnect
Connect starts a go routine that periodically tries to connect to storage. onConnect will be called when we have established a successful storage rec
storage/connection_handler.go:131
↓ 4 callersFunctionDc
(a,b)
templates/playground/playground.js:1290
↓ 4 callersFunctionDe
(a)
templates/playground/playground.js:1290
↓ 4 callersMethodDecodeFromDB
()
apidef/api_definitions.go:1285
↓ 4 callersFunctionDecodeJSON
DecodeJSON marshals src to json and tries to unmarshal the result into dest.
config/opentracing_custom_env_loader.go:52
↓ 4 callersMethodDecrement
Decrement will decrement a key in redis
storage/redis_cluster.go:397
↓ 4 callersMethodDeleteRawKey
DeleteKey will remove a key from the database without prefixing, assumes user knows what they are doing
storage/redis_cluster.go:535
↓ 4 callersMethodDeleteScanMatch
(string)
storage/storage.go:45
↓ 4 callersFunctionDf
()
templates/playground/playground.js:1311
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
certs/mock/mock.go:41
↓ 4 callersMethodEnabled
()
gateway/res_handler_header_injector.go:30
↓ 4 callersMethodEnabledForSpec
()
gateway/mw_go_plugin.go:104
↓ 4 callersMethodEnabledForSpec
()
gateway/mw_modify_headers.go:18
↓ 4 callersFunctionEncrypt
encrypt string to base64 crypto using AES
internal/crypto/helpers.go:259
↓ 4 callersMethodErrorCount
()
apidef/validator.go:40
↓ 4 callersMethodEventHandlerByName
EventHandlerByName is a convenience function to get event handler instances from an API Definition
gateway/event_system.go:122
↓ 4 callersMethodExecPipeline
ExecPipeline will run a pipeline function in a pipeline or transaction.
internal/rate/sliding_log.go:55
↓ 4 callersMethodExists
Exists check if keyName exists
storage/redis_cluster.go:714
↓ 4 callersMethodExpired
Expired checks if the allowance can be updated based on the configured delay.
internal/rate/model/allowance.go:97
↓ 4 callersMethodExtractTo
ExtractTo extracts *Server into *apidef.APIDefinition.
apidef/oas/server.go:129
↓ 4 callersMethodExtractTo
ExtractTo extracts data from *TransformBody into *apidef.TemplateMeta.
apidef/oas/middleware.go:1155
↓ 4 callersMethodExtractTo
ExtractTo extracts *EndpointPostPlugin to *apidef.GoPluginMeta.
apidef/oas/middleware.go:1615
↓ 4 callersFunctionFg
(a,b,c,d)
templates/playground/playground.js:1311
↓ 4 callersMethodFill
Fill fills *TransformBody from apidef.TemplateMeta.
apidef/oas/middleware.go:1144
↓ 4 callersMethodFill
Fill fills *TrafficLogs from apidef.APIDefinition.
apidef/oas/middleware.go:1713
↓ 4 callersMethodFromRPC
FromCloud will connect and download ApiDefintions from a Mongo DB instance.
gateway/api_definition.go:582
↓ 4 callersFunctionGb
(a,b)
templates/playground/playground.js:1290
↓ 4 callersMethodGenerateAuthKey
GenerateAuthKey is a utility function for generating new auth keys. Returns the storage key name and the actual key
gateway/auth_manager.go:249
↓ 4 callersFunctionGenerateServerCertAndKeyChain
GenerateServerCertAndKeyChain generates a server certificate and private key signed by the given root certificate and key, and includes the root certi
internal/crypto/testutil.go:145
← previousnext →1,101–1,200 of 9,242, ranked by callers