Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitwarden/clients
/ functions
Functions
15,467 in github.com/bitwarden/clients
⨍
Functions
15,467
◇
Types & classes
7,351
↓ 940 callers
Function
Component
(args: ButtonRowProps)
apps/browser/src/autofill/content/components/lit-stories/rows/button-row.lit-stories.ts:65
↓ 923 callers
Method
map
Converts the input data format to its output format. * @returns the converted value.
libs/common/src/tools/state/buffered-key-definition.ts:80
↓ 740 callers
Function
map
(history, decryptor)
libs/tools/generator/extensions/history/src/key-definitions.ts:36
↓ 617 callers
Method
error
Logs a message at error priority. * Error messages are used to indicate a operation that affects system * stability occurred and the system wa
libs/common/src/tools/log/semantic-logger.abstraction.ts:63
↓ 592 callers
Function
mock
( mockImplementation: PartialDeep<T> = {} as PartialDeep<T>, opts?: MockOpts, )
libs/common/src/platform/spec/mock-deep.ts:245
↓ 536 callers
Method
t
(id: string, p1?: string, p2?: string, p3?: string)
apps/browser/src/platform/services/i18n.service.ts:86
↓ 502 callers
Method
subscribe
Subscribe to the subject's event stream * @param observer listening for events * @returns the subscription
libs/common/src/tools/state/user-state-subject.ts:487
↓ 453 callers
Method
push
* If in browser popup, push new route onto history stack
apps/browser/src/platform/popup/view-cache/popup-router-cache.service.ts:100
↓ 389 callers
Method
open
(params: BulkDeleteDialogParams)
libs/vault/src/tokens/bulk-delete-dialog.token.ts:23
↓ 380 callers
Method
next
(value: State)
libs/common/src/tools/state/user-state-subject.ts:471
↓ 354 callers
Method
send
( method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH", path: string, body: any, authedOrUserId
libs/common/src/services/api.service.ts:1626
↓ 346 callers
Function
inject
(url: string, tabId: number, frameId = 0)
apps/browser/src/platform/browser/browser-api.register-content-scripts-polyfill.ts:397
↓ 342 callers
Method
filter
(s: SendView)
apps/cli/src/tools/send/commands/get.command.ts:46
↓ 330 callers
Method
set
* Sets a value in the storage service at the given key. * * This is a brute force method to just set a value in the storage service. If you can
libs/state/src/state-migrations/migration-helper.ts:55
↓ 297 callers
Method
resolve
(value?: T)
apps/desktop/native-messaging-test-runner/src/deferred.ts:17
↓ 289 callers
Method
update
Update the store with the provided function, which receives the current store and returns the updated store.
apps/desktop/src/platform/main/storage/storage-backend.ts:10
↓ 285 callers
Method
next
(&mut self)
apps/desktop/desktop_native/win_webauthn/src/api/webauthn.rs:354
↓ 240 callers
Method
assign
(target: T, source: Partial<T>)
libs/common/src/platform/misc/utils.ts:577
↓ 237 callers
Method
t
(id: string, p1?: string, p2?: string, p3?: string)
libs/components/src/utils/i18n-mock.service.ts:8
↓ 222 callers
Method
navigate
(filter: RoutedVaultFilterModel)
libs/vault/src/services/routed-vault-filter-bridge.service.ts:76
↓ 213 callers
Function
filter
(c: CipherView)
apps/web/src/app/dirt/reports/pages/cipher-report.component.ts:125
↓ 191 callers
Method
setValue
(value: T | null)
libs/components/src/utils/state-mock.ts:31
↓ 188 callers
Method
set
(appId: string, value: ConnectedApp)
apps/desktop/src/services/biometric-message-handler.service.ts:49
↓ 187 callers
Method
info
Logs a message at informational priority. * Information messages are used for status reports. * @param message - a message to record in the lo
libs/common/src/tools/log/semantic-logger.abstraction.ts:28
↓ 185 callers
Method
filter
* Filter to apply to the `data`. * * If a string is provided, it will be converted to a filter using {@link simpleStringFilter}
libs/components/src/table/table-data-source.ts:65
↓ 181 callers
Method
toString
()
bitwarden_license/bit-common/src/dirt/organization-integrations/models/integration-builder.ts:21
↓ 175 callers
Method
set
(id: string, value: SdkType)
libs/common/src/platform/services/sdk/client-managed-state.ts:76
↓ 173 callers
Method
showToast
( type: "error" | "success" | "warning" | "info", title: string, text: string | string[], opti
apps/web/src/app/core/web-platform-utils.service.ts:151
↓ 158 callers
Method
parse
(data: string)
libs/importer/src/importers/importer.ts:5
↓ 146 callers
Method
openSimpleDialog
* Opens a simple dialog, returns true if the user accepted the dialog. * * @param {SimpleDialogOptions} simpleDialogOptions - An object containi
libs/components/src/dialog/dialog.service.ts:396
↓ 143 callers
Method
isNullOrWhitespace
(str: string | null | undefined)
libs/common/src/platform/misc/utils.ts:559
↓ 139 callers
Function
mockAccountServiceWith
( userId: UserId, info: Partial<AccountInfo> = {}, activity: Record<UserId, Date> = {}, )
libs/common/spec/fake-account-service.ts:23
↓ 136 callers
Method
get
* Resolves the factory and returns the result. Guaranteed to resolve the value only once. * * @returns The value produced by your factory.
libs/common/src/platform/misc/lazy.ts:13
↓ 135 callers
Method
debug
Logs a message at debug priority. * Debug messages are used for diagnostics, and are typically disabled * in production builds. * @param m
libs/common/src/tools/log/semantic-logger.abstraction.ts:10
↓ 125 callers
Method
getUser
(userId: UserId, userKeyDefinition: UserKeyDefinition<T>)
libs/state-test-utils/src/fake-state-provider.ts:279
↓ 120 callers
Method
showToast
(msg: any)
apps/browser/src/popup/app.component.ts:320
↓ 116 callers
Method
required
()
libs/components/src/switch/switch.component.ts:146
↓ 115 callers
Method
add
()
apps/web/src/app/settings/domain-rules.component.ts:83
↓ 113 callers
Function
getUserId
()
apps/web/src/app/vault/components/vault-items/vault-items.stories.ts:114
↓ 113 callers
Method
newGuid
@deprecated Use newGuid from @bitwarden/guid instead
libs/common/src/platform/misc/utils.ts:426
↓ 112 callers
Method
inject
* Facilitates the injection of a script into a tab context. Will adjust * behavior between manifest v2 and v3 based on the passed configuration.
apps/browser/src/platform/services/browser-script-injector.service.ts:35
↓ 112 callers
Method
organizations$
()
apps/web/src/app/layouts/product-switcher/product-switcher.stories.ts:38
↓ 108 callers
Method
warning
(message?: any, ...optionalParams: any[])
libs/logging/src/console-log.service.ts:23
↓ 106 callers
Method
now
()
libs/scheduling/src/task-scheduler.service.ts:61
↓ 103 callers
Method
showToast
(options: ToastOptions)
libs/components/src/toast/toast.service.ts:24
↓ 95 callers
Method
setToUser
* Sets a user scoped value to a location derived through the user id and key definition * * This is for use with the state providers framework,
libs/state/src/state-migrations/migration-helper.ts:132
↓ 94 callers
Method
query
( root: Document | ShadowRoot | Element, queryString: string, treeWalkerFilter: CallableFunction,
apps/browser/src/autofill/services/abstractions/dom-query.service.ts:2
↓ 93 callers
Method
sort
(sort: Sort)
libs/components/src/table/table-data-source.ts:52
↓ 85 callers
Method
clone
()
apps/desktop/src/vault/app/vault-v3/vault-items/vault-cipher-row.component.ts:273
↓ 83 callers
Method
send
(&mut self, value: String)
apps/desktop/desktop_native/objc/src/lib.rs:28
↓ 80 callers
Function
resolve
(version: string)
apps/desktop/src/platform/preload.ts:121
↓ 79 callers
Method
complete
()
libs/common/src/tools/state/user-state-subject.ts:479
↓ 78 callers
Method
from
(message: Message)
apps/desktop/desktop_native/napi/src/ipc.rs:14
↓ 76 callers
Method
replace
Atomically replaces the keystore contents with the provided keys.
apps/desktop/desktop_native/ssh_agent/src/agent.rs:64
↓ 74 callers
Method
addEventListener
(type: string, callback: EventListener)
apps/browser/src/autofill/fido2/content/messaging/messenger.spec.ts:306
↓ 74 callers
Method
has
(key: string, options?: StorageOptions)
apps/browser/src/platform/storage/offscreen-storage.service.ts:30
↓ 72 callers
Method
get
(key: string, options?: StorageOptions)
apps/browser/src/platform/storage/offscreen-storage.service.ts:14
↓ 71 callers
Method
success
(data?: BaseResponse)
apps/cli/src/models/response.ts:60
↓ 70 callers
Method
complete
(&self, credential: serde_json::Value)
apps/desktop/desktop_native/autofill_provider/src/assertion.rs:164
↓ 70 callers
Method
fromB64ToArray
(str: string)
libs/common/src/platform/misc/utils.ts:101
↓ 66 callers
Function
mockAccountInfoWith
(info: Partial<AccountInfo> = {})
libs/common/spec/fake-account-service.ts:13
↓ 65 callers
Function
svg
(strings: TemplateStringsArray, ...values: unknown[])
libs/assets/src/svg/svg.ts:19
↓ 64 callers
Method
collect
Adds an event to the active user's event collection * @param eventType the event type to be added * @param cipherId if provided the id of the
libs/common/src/dirt/event-logs/services/event-collection.service.ts:85
↓ 63 callers
Method
len
(&self)
apps/desktop/desktop_native/win_webauthn/src/api/webauthn.rs:401
↓ 61 callers
Function
assertNonNullish
( val: T, name: string, ctx?: string, )
libs/common/src/auth/utils/assert-non-nullish.util.ts:36
↓ 61 callers
Method
fromBufferToB64
(buffer: ArrayBuffer | ArrayBufferView | null | undefined)
libs/common/src/platform/misc/utils.ts:269
↓ 61 callers
Method
has
(key: string, options: StorageOptions = this.defaultOptions)
apps/web/src/app/core/html-storage.service.ts:49
↓ 60 callers
Method
take
* Use this function when you want to use the underlying object. * This will guarantee that you have a reference to the object * and that it won'
libs/common/src/platform/misc/reference-counting/rc.ts:37
↓ 59 callers
Method
initLoginCipher
()
libs/importer/src/importers/base-importer.spec.ts:11
↓ 58 callers
Method
disable
()
libs/components/src/dialog/dialog.service.ts:45
↓ 58 callers
Method
from
Creates a secret state bound to an account encryptor. The account must be unlocked * when this method is called. * @param userId: the user to
libs/common/src/tools/state/secret-state.ts:91
↓ 58 callers
Method
setUserState
( userKeyDefinition: UserKeyDefinition<T>, value: T | null, userId?: UserId, )
libs/state-test-utils/src/fake-state-provider.ts:258
↓ 57 callers
Method
log
(content: Jsonify<T>, level: LogLevelType, message?: string)
libs/common/src/tools/log/default-semantic-logger.ts:51
↓ 56 callers
Function
mockMigrationHelper
( storageJson: any, stateVersion = 0, type: MigrationHelperType = "general", clientType: ClientType =
libs/state/src/state-migrations/migration-helper.spec.ts:203
↓ 54 callers
Method
click
()
libs/components/src/tabs/shared/tab-list-item.directive.ts:34
↓ 53 callers
Method
badRequest
(message: string)
apps/cli/src/models/response.ts:46
↓ 53 callers
Method
userKey$
(userId: UserId)
libs/key-management/src/key.service.ts:642
↓ 52 callers
Method
getFeatureFlag
(key: Flag)
libs/common/src/platform/services/config/default-config.service.ts:191
↓ 52 callers
Method
migrate
(helper: MigrationHelper)
libs/state/src/state-migrations/migrations/min-version.ts:18
↓ 52 callers
Method
orgKeys$
(userId: UserId)
libs/key-management/src/key.service.ts:793
↓ 52 callers
Method
replace
(ciphers: { [id: string]: CipherData }, userId: UserId)
libs/common/src/vault/services/cipher.service.ts:1370
↓ 51 callers
Function
asUuid
(uuid: string)
libs/common/src/platform/abstractions/sdk/sdk.service.ts:82
↓ 51 callers
Method
rollback
(helper: MigrationHelper)
libs/state/src/state-migrations/migrations/min-version.ts:23
↓ 51 callers
Method
unsubscribe
Unsubscribes from the observable
libs/common/spec/observable-tracker.ts:35
↓ 50 callers
Method
getFeatureFlag$
(key: Flag)
apps/web/src/app/layouts/product-switcher/product-switcher.stories.ts:102
↓ 49 callers
Function
getOrganizationById
(id: string)
libs/common/src/admin-console/abstractions/organization/organization.service.abstraction.ts:89
↓ 48 callers
Method
addListener
* Adds a callback to the given chrome event in a cross-browser platform manner. * * **Important:** All event listeners in the browser extension
apps/browser/src/platform/browser/browser-api.ts:667
↓ 48 callers
Method
send
(message: OutgoingMessage)
apps/web/src/app/platform/ipc/web-ipc.service.ts:26
↓ 46 callers
Method
init
()
apps/browser/src/autofill/content/abstractions/autofill-init.ts:49
↓ 45 callers
Method
fullSync
(override = false)
apps/browser/src/background/main.background.ts:2150
↓ 45 callers
Method
start
Starts the ssh agent server
apps/desktop/desktop_native/ssh_agent/src/agent.rs:43
↓ 45 callers
Method
stop
Stops the server and clears the keystore.
apps/desktop/desktop_native/ssh_agent/src/agent.rs:49
↓ 44 callers
Method
get
(key: string, options: StorageOptions = this.defaultOptions)
apps/web/src/app/core/html-storage.service.ts:30
↓ 44 callers
Method
userClient$
(userId: UserId)
libs/common/src/platform/spec/mock-sdk.service.ts:28
↓ 43 callers
Method
iter
# Safety The caller must ensure that the pCredentialParameters is either null or marks the beginning of a list whose count is represented accurately b
apps/desktop/desktop_native/win_webauthn/src/api/webauthn.rs:366
↓ 42 callers
Method
getFromUser
* Gets a user scoped value from a location derived through the user id and key definition * * This is for use with the state providers framework
libs/state/src/state-migrations/migration-helper.ts:118
↓ 42 callers
Function
migrateAccount
(userId: string, account: ExpectedAccountType)
apps/web/src/app/platform/web-migration-runner.spec.ts:138
↓ 41 callers
Method
encryptString
(plainValue: string, key: SymmetricCryptoKey)
libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts:22
↓ 41 callers
Method
has
(key: string)
libs/storage-core/src/memory-storage.service.ts:26
↓ 40 callers
Function
newGuid
()
libs/guid/src/index.ts:3
next →
1–100 of 15,467, ranked by callers