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
↓ 5 callers
Function
getUserIDFromClaim
getUserIDFromClaim parses jwt claims and get the userID from provided identityBaseField.
gateway/mw_jwt.go:1571
↓ 5 callers
Method
getVersionFromRequest
(r *http.Request)
gateway/api_definition.go:1537
↓ 5 callers
Function
gh
(a)
templates/playground/playground.js:1290
↓ 5 callers
Function
gi
(a,b,c,d,e)
templates/playground/playground.js:1290
↓ 5 callers
Function
graphqlDataSourceConfiguration
(url string, method string, headers map[string]string, subscriptionType apidef.SubscriptionType, sseUsePost bo
apidef/adapter/gqlengineadapter/utils_engine_v2.go:24
↓ 5 callers
Method
handleDeleteKey
(keyName, orgID, apiID string, resetQuota bool)
gateway/api.go:759
↓ 5 callers
Method
importAuthentication
(enable bool)
apidef/oas/default.go:177
↓ 5 callers
Function
indentLine
(cm,n,how,aggressive)
templates/playground/playground.js:149
↓ 5 callers
Method
initShutdownContext
initShutdownContext initializes the shutdown context if not already done
tcp/tcp.go:146
↓ 5 callers
Function
isExpired
(claims jwt.MapClaims)
gateway/mw_external_oauth.go:299
↓ 5 callers
Function
isLine
(doc,l)
templates/playground/playground.js:149
↓ 5 callers
Method
isProprietaryInVendor
isProprietaryInVendor determines if a scheme in vendor security is proprietary
apidef/oas/security.go:982
↓ 5 callers
Method
isTimeStampExpired
(timestamp string)
gateway/mw_redis_cache.go:118
↓ 5 callers
Function
ji
(a)
templates/playground/playground.js:1290
↓ 5 callers
Method
logs
logs extract logs for unit test cases
gateway/tracing.go:83
↓ 5 callers
Function
makeChange
(doc,change,ignoreReadOnly)
templates/playground/playground.js:149
↓ 5 callers
Function
makeParams
(kvs map[string]string)
internal/service/newrelic/sink.go:43
↓ 5 callers
Function
markText
(doc,from,to,options,type)
templates/playground/playground.js:149
↓ 5 callers
Function
measureForScrollbars
(cm)
templates/playground/playground.js:149
↓ 5 callers
Method
mergeFrom
(com.google.protobuf.Message other)
coprocess/bindings/java/CoprocessMiniRequestObject.java:1471
↓ 5 callers
Function
moveOnce
(boundToLine)
templates/playground/playground.js:149
↓ 5 callers
Function
moveSel
(cm,dir)
templates/playground/playground.js:105
↓ 5 callers
Function
nb
(a)
templates/playground/playground.js:1311
↓ 5 callers
Method
newBuilderForType
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:1278
↓ 5 callers
Function
newTestReverseProxyPreHandlerV2
(t *testing.T)
internal/graphengine/graphql_go_tools_v2_test.go:165
↓ 5 callers
Function
ni
(a,b)
templates/playground/playground.js:1290
↓ 5 callers
Function
oauthClientStorageID
(clientID string)
gateway/api.go:2174
↓ 5 callers
Function
oh
(a,b)
templates/playground/playground.js:1290
↓ 5 callers
Function
onBlur
(cm,e)
templates/playground/playground.js:149
↓ 5 callers
Function
p
()
templates/playground/playground.js:149
↓ 5 callers
Function
parseJWTKey
parseJWTKey parses JWT key based on signing Method
gateway/mw_jwt.go:1509
↓ 5 callers
Function
parseSchema
(schemaAsString string)
apidef/adapter/gqlengineadapter/utils.go:19
↓ 5 callers
Method
printDef
(def *apidef.APIDefinition)
cli/importer/importer.go:276
↓ 5 callers
Function
pushRule
(rules,state,ruleKind)
templates/playground/playground.js:393
↓ 5 callers
Function
rc
(a,b,c,d,e)
templates/playground/playground.js:1290
↓ 5 callers
Function
readToken
(mode,stream,state,inner)
templates/playground/playground.js:149
↓ 5 callers
Method
reportLoginFailure
(tykId string, r *http.Request)
gateway/mw_openid.go:247
↓ 5 callers
Function
rk
(a)
templates/playground/playground.js:1290
↓ 5 callers
Function
rmClass
(node,cls)
templates/playground/playground.js:149
↓ 5 callers
Function
scanCacheKeys
(t *testing.T, storageConnHandler *storage.ConnectionHandler, apiID string, expectEmtpy bool)
tests/regression/issue_11585_test.go:94
↓ 5 callers
Function
scrollToCoords
(cm,x,y)
templates/playground/playground.js:149
↓ 5 callers
Method
setField
( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
coprocess/bindings/java/CoprocessSessionState.java:2877
↓ 5 callers
Method
setRepeatedField
( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
coprocess/bindings/java/CoprocessSessionState.java:2890
↓ 5 callers
Function
setScopesIfEmpty
(flow *openapi3.OAuthFlow)
apidef/oas/security.go:1643
↓ 5 callers
Function
setUpStreamAPI
(ts *Test, apiName string, streamConfig string)
gateway/mw_streaming_test.go:371
↓ 5 callers
Function
setupTest
(t *testing.T)
storage/mdcb_storage_test.go:35
↓ 5 callers
Function
skip
(k)
templates/playground/playground.js:77
↓ 5 callers
Function
spansFor
(n)
templates/playground/playground.js:149
↓ 5 callers
Function
startWorker
(cm,time)
templates/playground/playground.js:149
↓ 5 callers
Function
stripBearer
(token string)
gateway/mw_auth_key.go:259
↓ 5 callers
Function
strval
(in any)
apidef/oas/fixtures_test.go:352
↓ 5 callers
Function
testPrepareHMACAuthSessionPass
(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 callers
Function
timeValidateJWTClaims
timeValidateJWTClaims validates JWT with provided clock skew, to overcome skew occurred with distributed systems.
gateway/mw_jwt.go:1543
↓ 5 callers
Function
ue
(a)
templates/playground/playground.js:1290
↓ 5 callers
Function
updateScrollTop
(cm,val)
templates/playground/playground.js:149
↓ 5 callers
Method
urlRewrite
(meta *apidef.URLRewriteMeta, r *http.Request)
gateway/mw_url_rewrite.go:42
↓ 5 callers
Function
verifyOASOperation
Helper function to verify OpenAPI operation responses
apidef/oas/operation_test.go:1037
↓ 5 callers
Function
widgetHeight
(widget)
templates/playground/playground.js:149
↓ 4 callers
Function
$c
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callers
Function
Add
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 callers
Method
AppendInt
(n int)
regexp/keybuilder.go:63
↓ 4 callers
Method
AppendToSet
(keyName, value string)
storage/redis_cluster.go:697
↓ 4 callers
Method
AppendToSetPipelined
(key string, values [][]byte)
storage/redis_cluster.go:782
↓ 4 callers
Method
Apply
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 callers
Method
ApplyLifetime
ApplyLifetime calculates the lifetime for the key. It considers the access rights and the bigger lifetime will be used
gateway/api.go:295
↓ 4 callers
Function
Bb
(a)
templates/playground/playground.js:1290
↓ 4 callers
Function
BuildMetadataMap
(token *oauth2.Token, extraMetadataKeys []string)
ee/middleware/upstreamoauth/token_cache.go:81
↓ 4 callers
Method
BuildRequest
(reqBody string)
gateway/event_handler_webhooks.go:232
↓ 4 callers
Method
CacheOptions
CacheOptions returns the timeout value in effect and a bool if cache is enabled.
apidef/oas/upstream.go:527
↓ 4 callers
Method
Channel
Channel returns the channel the message was received on.
gateway/testutil.go:2080
↓ 4 callers
Function
CompilePOSIX
CompilePOSIX does the same as regexp.CompilePOSIX but returns cached *Regexp instead.
regexp/regexp.go:56
↓ 4 callers
Method
Connect
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 callers
Function
Dc
(a,b)
templates/playground/playground.js:1290
↓ 4 callers
Function
De
(a)
templates/playground/playground.js:1290
↓ 4 callers
Method
DecodeFromDB
()
apidef/api_definitions.go:1285
↓ 4 callers
Function
DecodeJSON
DecodeJSON marshals src to json and tries to unmarshal the result into dest.
config/opentracing_custom_env_loader.go:52
↓ 4 callers
Method
Decrement
Decrement will decrement a key in redis
storage/redis_cluster.go:397
↓ 4 callers
Method
DeleteRawKey
DeleteKey will remove a key from the database without prefixing, assumes user knows what they are doing
storage/redis_cluster.go:535
↓ 4 callers
Method
DeleteScanMatch
(string)
storage/storage.go:45
↓ 4 callers
Function
Df
()
templates/playground/playground.js:1311
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
certs/mock/mock.go:41
↓ 4 callers
Method
Enabled
()
gateway/res_handler_header_injector.go:30
↓ 4 callers
Method
EnabledForSpec
()
gateway/mw_go_plugin.go:104
↓ 4 callers
Method
EnabledForSpec
()
gateway/mw_modify_headers.go:18
↓ 4 callers
Function
Encrypt
encrypt string to base64 crypto using AES
internal/crypto/helpers.go:259
↓ 4 callers
Method
ErrorCount
()
apidef/validator.go:40
↓ 4 callers
Method
EventHandlerByName
EventHandlerByName is a convenience function to get event handler instances from an API Definition
gateway/event_system.go:122
↓ 4 callers
Method
ExecPipeline
ExecPipeline will run a pipeline function in a pipeline or transaction.
internal/rate/sliding_log.go:55
↓ 4 callers
Method
Exists
Exists check if keyName exists
storage/redis_cluster.go:714
↓ 4 callers
Method
Expired
Expired checks if the allowance can be updated based on the configured delay.
internal/rate/model/allowance.go:97
↓ 4 callers
Method
ExtractTo
ExtractTo extracts *Server into *apidef.APIDefinition.
apidef/oas/server.go:129
↓ 4 callers
Method
ExtractTo
ExtractTo extracts data from *TransformBody into *apidef.TemplateMeta.
apidef/oas/middleware.go:1155
↓ 4 callers
Method
ExtractTo
ExtractTo extracts *EndpointPostPlugin to *apidef.GoPluginMeta.
apidef/oas/middleware.go:1615
↓ 4 callers
Function
Fg
(a,b,c,d)
templates/playground/playground.js:1311
↓ 4 callers
Method
Fill
Fill fills *TransformBody from apidef.TemplateMeta.
apidef/oas/middleware.go:1144
↓ 4 callers
Method
Fill
Fill fills *TrafficLogs from apidef.APIDefinition.
apidef/oas/middleware.go:1713
↓ 4 callers
Method
FromRPC
FromCloud will connect and download ApiDefintions from a Mongo DB instance.
gateway/api_definition.go:582
↓ 4 callers
Function
Gb
(a,b)
templates/playground/playground.js:1290
↓ 4 callers
Method
GenerateAuthKey
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 callers
Function
GenerateServerCertAndKeyChain
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
← previous
next →
1,101–1,200 of 9,242, ranked by callers