MCPcopy Create free account

hub / github.com/QuantumNous/new-api / functions

Functions15,409 in github.com/QuantumNous/new-api

FunctionTestPasskeyDefaultsDoNotRestrictUnrelatedServerAddressSetup
(t *testing.T)
controller/passkey_test.go:545
FunctionTestPasskeyDomainChoicesRespectOriginAndConfiguration
(t *testing.T)
controller/passkey_test.go:261
FunctionTestPasskeyDomainEndpointRequiresRoot
(t *testing.T)
controller/passkey_test.go:524
FunctionTestPasskeyDomainErrorsReturnMessageKeys
The web console translates message_key, so every request language gets the same English source text.
controller/passkey_test.go:670
FunctionTestPasskeyDomainFailuresDoNotLogCredentials
(t *testing.T)
controller/passkey_test.go:643
FunctionTestPasskeyDomainPreviewConfirmationAndAudit
(t *testing.T)
controller/passkey_test.go:358
FunctionTestPasskeyDomainRemovalProtectsExistingAndUnknownCredentials
(t *testing.T)
controller/passkey_test.go:312
FunctionTestPasskeyDomainRemovalWithoutAffectedCredentialsNeedsNoOverride
(t *testing.T)
controller/passkey_test.go:331
FunctionTestPasskeyDomainSettingsAcceptExactHTTPSInternalHosts
(t *testing.T)
controller/passkey_test.go:444
FunctionTestPasskeyDomainsPreserveCredentialsAcrossVerificationFlows
(t *testing.T)
controller/passkey_test.go:133
FunctionTestPasskeyDomainsRejectInvalidAssertions
(t *testing.T)
controller/passkey_test.go:202
FunctionTestPasskeyImplicitDomainChangesRetainPreviousTrust
(t *testing.T)
controller/passkey_test.go:472
FunctionTestPasskeyRPIDMigrationPreservesExistingCredentials
(t *testing.T)
controller/passkey_test.go:719
FunctionTestPasskeyRPIDRotationKeepsInFlightRegistration
(t *testing.T)
controller/passkey_test.go:617
FunctionTestPasskeyRPIDRotationRetainsDefaultsAndRollsBackOnFailure
(t *testing.T)
controller/passkey_test.go:577
FunctionTestPasskeyRegisterFinishRejectsUnapprovedFlowWithoutConsumingIt
(t *testing.T)
controller/passkey_test.go:783
FunctionTestPasskeyRegistrationAndDomainRemovalSerialize
(t *testing.T)
controller/passkey_test.go:488
FunctionTestPasskeyRegistrationRejectsUnavailableRequestOrigin
(t *testing.T)
controller/passkey_test.go:557
FunctionTestPasskeySnapshotDoesNotMaterializeDefaults
(t *testing.T)
controller/passkey_test.go:347
FunctionTestPasswordResetBumpsAuthVersionAndRevokesSessions
(t *testing.T)
model/user_session_test.go:631
FunctionTestPasswordResetDoesNotClearSessionIssuanceHistory
(t *testing.T)
service/auth_session_test.go:171
FunctionTestPatchClaudeMessageDeltaUsageDataPreserveUnknownFields
(t *testing.T)
relay/channel/claude/message_delta_usage_patch_test.go:14
FunctionTestPatchClaudeMessageDeltaUsageDataZeroValueChecks
(t *testing.T)
relay/channel/claude/message_delta_usage_patch_test.go:33
FunctionTestPatchOverTheBodyLimit
(t *testing.T)
relay/requestplugin/requestplugin_test.go:409
FunctionTestPath2RelayMode
(t *testing.T)
relay/constant/relay_mode_test.go:9
FunctionTestPaymentReturnPathUsesDefaultDashboardRoutes
(t *testing.T)
controller/return_path_test.go:10
FunctionTestPaymentReturnURLUsesSuppliedDefaultDashboardPath
(t *testing.T)
service/return_path_test.go:10
FunctionTestPendingTwoFASetupAPIsRejectEnabledFactor
(t *testing.T)
model/user_authentication_test.go:253
FunctionTestPendingUserAuthFenceRejectsStaleCacheWrite
(t *testing.T)
model/user_cache_auth_version_test.go:99
FunctionTestPerProtocolModelsAcceptSharedPluginClaims
(t *testing.T)
pkg/jsplugin/routing_test.go:232
FunctionTestPerProtocolModelsAllowDisjointPluginsOnSharedProtocol
(t *testing.T)
pkg/jsplugin/routing_test.go:182
FunctionTestPerProtocolModelsNarrowEndpointBindings
(t *testing.T)
pkg/jsplugin/routing_test.go:165
FunctionTestPerformanceAggregationAndFlush
TEST_PERF_MYSQL_DSN / TEST_PERF_POSTGRES_DSN optionally run the aggregation against isolated real MySQL/PostgreSQL databases.
pkg/perf_metrics/metrics_test.go:189
FunctionTestPerformanceWindowIncludesCurrentHour
(t *testing.T)
pkg/perf_metrics/metrics_test.go:98
FunctionTestPinTaskPluginEndpointMalformedStreamStillFailsInPrepare
(t *testing.T)
middleware/task_plugin_test.go:1842
FunctionTestPinTaskPluginEndpointMovesParserToSurvivingSharedCandidate
(t *testing.T)
middleware/task_plugin_test.go:1868
FunctionTestPinTaskPluginEndpointRejectsUnsupportedRequestForms
(t *testing.T)
middleware/task_plugin_test.go:1761
FunctionTestPinnedTaskPluginChannelTypesIncludesCompatibleTypes
(t *testing.T)
service/channel_select_test.go:133
FunctionTestPinnedTaskPluginChannelTypesIncludesSharedEndpointProviders
(t *testing.T)
service/channel_select_test.go:52
FunctionTestPinnedTaskPluginChannelTypesLeavesGenericChannelsKeyed
(t *testing.T)
service/channel_select_test.go:36
FunctionTestPinnedTaskPluginChannelTypesUsesPinnedGenerationIndex
(t *testing.T)
service/channel_select_test.go:14
FunctionTestPlanScopeModels
(t *testing.T)
relay/requestplugin/requestplugin_test.go:1577
FunctionTestPlanScopeOrder
(t *testing.T)
relay/requestplugin/requestplugin_test.go:123
FunctionTestPluginAuthoredHeaderOnly404PassesThrough
(t *testing.T)
router/plugin_router_test.go:101
FunctionTestPluginCLI
(t *testing.T)
pkg/jsplugin/cli_test.go:13
FunctionTestPluginCLIWarnsOnParseTaskResultInProgressFallback
(t *testing.T)
pkg/jsplugin/cli_test.go:31
FunctionTestPluginConverter
(t *testing.T)
router/provider_plugin_relay_test.go:829
FunctionTestPluginConverterBinaryReplies
A binary reply reaches the client byte for byte with the content type the plugin set, and is billed as the same audio from an Advanced Custom channel.
router/provider_plugin_relay_test.go:1650
FunctionTestPluginConverterEndpointsBillLikeAdvancedCustom
Every relayed endpoint but realtime takes a plugin converter, and the reply it converts is billed as an Advanced Custom channel bills the same reply.
router/provider_plugin_relay_test.go:1546
FunctionTestPluginConverterLeavesErrorsToTheHost
(t *testing.T)
router/provider_plugin_relay_test.go:936
FunctionTestPluginConverterMapsVendorErrors
(t *testing.T)
router/provider_plugin_relay_test.go:1129
FunctionTestPluginConverterMultipartRequests
A multipart client request reaches a vendor as the form, JSON or file the plugin builds of it, and is billed as on an Advanced Custom channel.
router/provider_plugin_relay_test.go:1771
FunctionTestPluginConverterNeedsAllHooksAndARoute
(t *testing.T)
pkg/jsplugin/provider_test.go:150
FunctionTestPluginConverterPath
(t *testing.T)
router/provider_plugin_relay_test.go:1399
FunctionTestPluginConverterRequestFailures
A conversion the host cannot send fails before anything reaches the vendor and costs nothing.
router/provider_plugin_relay_test.go:1883
FunctionTestPluginConverterSignsTheFinalBytes
prepareRequest sees the markers, signRequest the hash of the bytes with the files in them, and a resend after a refresh sends the same bytes.
router/provider_plugin_relay_test.go:1924
FunctionTestPluginDebugLogsOnlyOwnedRoutes
(t *testing.T)
router/plugin_router_test.go:52
FunctionTestPluginDispatcherMissFallsThroughWithoutLeakingInnerResponse
(t *testing.T)
router/plugin_router_test.go:32
FunctionTestPluginDisplayMetadata
(t *testing.T)
pkg/jsplugin/registry_test.go:1096
FunctionTestPluginErrorRejectsTheCredential
(t *testing.T)
router/provider_plugin_relay_test.go:1366
FunctionTestPluginInnerContextImportsRequestMetadataAndTrustedProxyConfig
(t *testing.T)
router/plugin_router_test.go:255
FunctionTestPluginJSONValuesPreserveCodecNormalizationAndIsolation
(t *testing.T)
relay/channel/task/jsplugin/adaptor_test.go:2392
FunctionTestPluginKeyAndKeyAddressesAreValidated
The gateway serves a plugin's routes under /{key}, so a key may not name a host namespace. A plugin may declare one of those addresses itself, as Type
pkg/jsplugin/routing_test.go:1091
FunctionTestPluginLoginAPI
(t *testing.T)
controller/provider_plugin_test.go:326
FunctionTestPluginLoginAddAccount
(t *testing.T)
service/provider_plugin_login_test.go:596
FunctionTestPluginLoginAddAccountKeepsAKeyThatNeedsLoginDisabled
(t *testing.T)
service/provider_plugin_login_test.go:653
FunctionTestPluginLoginAddsLineInMultiKeyMode
(t *testing.T)
service/provider_plugin_login_test.go:564
FunctionTestPluginLoginCallbackRejections
(t *testing.T)
service/provider_plugin_login_test.go:251
FunctionTestPluginLoginConcurrentLoginsHoldOneAccountOnce
(t *testing.T)
service/provider_plugin_login_test.go:545
FunctionTestPluginLoginConcurrentSubmitRunsThePluginOnce
(t *testing.T)
service/provider_plugin_login_test.go:382
FunctionTestPluginLoginDevice
(t *testing.T)
service/provider_plugin_login_test.go:156
FunctionTestPluginLoginDeviceExpires
(t *testing.T)
service/provider_plugin_login_test.go:194
FunctionTestPluginLoginDoneConsumesTheFlow
(t *testing.T)
service/provider_plugin_login_test.go:367
FunctionTestPluginLoginEnablesOnlyWhatTheHostDisabled
(t *testing.T)
service/provider_plugin_login_test.go:674
FunctionTestPluginLoginExpiredFlow
(t *testing.T)
service/provider_plugin_login_test.go:344
FunctionTestPluginLoginFields
(t *testing.T)
service/provider_plugin_login_test.go:206
FunctionTestPluginLoginFlowFollowsTheChannel
(t *testing.T)
service/provider_plugin_login_test.go:731
FunctionTestPluginLoginFlowLivesFifteenMinutes
(t *testing.T)
service/provider_plugin_login_test.go:356
FunctionTestPluginLoginInvalidStepIsRejected
(t *testing.T)
service/provider_plugin_login_test.go:427
FunctionTestPluginLoginKeepsSecretsOutOfViewsAndLogs
Nothing the plugin holds for the flow reaches the browser or the log.
service/provider_plugin_login_test.go:442
FunctionTestPluginLoginNeedsALoginPlugin
(t *testing.T)
service/provider_plugin_login_test.go:717
FunctionTestPluginLoginOnExistingCredential
(t *testing.T)
service/provider_plugin_login_test.go:486
FunctionTestPluginLoginOneAccountPerPlugin
(t *testing.T)
service/provider_plugin_login_test.go:518
FunctionTestPluginLoginPaste
(t *testing.T)
service/provider_plugin_login_test.go:112
FunctionTestPluginLoginPasteRejectsBadAddresses
(t *testing.T)
service/provider_plugin_login_test.go:138
FunctionTestPluginLoginRedirect
(t *testing.T)
service/provider_plugin_login_test.go:79
FunctionTestPluginLoginRefusesJSONArrayKeys
(t *testing.T)
service/provider_plugin_login_test.go:708
FunctionTestPluginLoginRejectsInputOfAnotherStep
(t *testing.T)
service/provider_plugin_login_test.go:233
FunctionTestPluginLoginRoutesUseExpectedPermissions
(t *testing.T)
router/channel_router_test.go:46
FunctionTestPluginLoginSingleKeyReplacesTheKey
(t *testing.T)
service/provider_plugin_login_test.go:584
FunctionTestPluginLoginThrowLeavesTheStepUsable
(t *testing.T)
service/provider_plugin_login_test.go:409
FunctionTestPluginLoginVendorErrorCodeIsSanitized
(t *testing.T)
service/provider_plugin_login_test.go:333
FunctionTestPluginModelListKey
(t *testing.T)
service/provider_plugin_test.go:708
FunctionTestPluginOwnedPathMethodMismatchReturns405
(t *testing.T)
router/plugin_router_test.go:122
FunctionTestPluginParts
(t *testing.T)
pkg/jsplugin/provider_test.go:45
FunctionTestPluginPathOwnershipIsExclusivePerMethod
Overlapping routes of different plugins are all admitted: per method, Gin answers a literal segment before a parameter.
router/plugin_router_test.go:631
FunctionTestPluginProtocolBridgeBoundsDatabaseReadBelowHeartbeat
(t *testing.T)
controller/plugin_protocol_test.go:391
FunctionTestPluginProtocolObservationLimiterCaps
(t *testing.T)
controller/plugin_protocol_limiter_test.go:12
FunctionTestPluginProtocolObservationLimiterConcurrentAdmissionsRespectCap
(t *testing.T)
controller/plugin_protocol_limiter_test.go:186
FunctionTestPluginProtocolObservationLimiterRejectsMissingIdentityWithoutConsumingCapacity
(t *testing.T)
controller/plugin_protocol_limiter_test.go:153
← previousnext →13,001–13,100 of 15,409, ranked by callers