Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitwarden/clients
/ functions
Functions
21,506 in github.com/bitwarden/clients
⨍
Functions
21,506
◇
Types & classes
9,111
↓ 1,497 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
↓ 1,366 callers
Function
Component
(args: ButtonRowProps)
apps/browser/src/autofill/content/components/lit-stories/rows/button-row.lit-stories.ts:65
↓ 975 callers
Function
mock
( mockImplementation: PartialDeep<T> = {} as PartialDeep<T>, opts?: MockOpts, )
libs/common/src/platform/spec/mock-deep.ts:245
↓ 919 callers
Function
map
(history, decryptor)
libs/tools/generator/extensions/history/src/key-definitions.ts:36
↓ 788 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
↓ 746 callers
Function
inject
(url: string, tabId: number, frameId = 0)
apps/browser/src/platform/browser/browser-api.register-content-scripts-polyfill.ts:403
↓ 642 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:489
↓ 635 callers
Method
t
(id: string, p1?: string, p2?: string, p3?: string)
apps/browser/src/platform/services/i18n.service.ts:86
↓ 524 callers
Method
next
(value: State)
libs/common/src/tools/state/user-state-subject.ts:473
↓ 509 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
↓ 490 callers
Method
filter
(s: SendView)
apps/cli/src/tools/send/commands/get.command.ts:49
↓ 470 callers
Method
open
(params: CollectionDialogOpenParams)
libs/vault/src/tokens/collection-dialog.token.ts:38
↓ 422 callers
Method
push
Push a ref onto the stack.
libs/components/src/dialog/drawer.service.ts:55
↓ 414 callers
Method
resolve
(value?: T)
apps/desktop/native-messaging-test-runner/src/deferred.ts:17
↓ 398 callers
Function
signal
(tabId: number, event: TabLifecycleEvent)
apps/browser/src/autofill/tab-lifecycle/reducer.ts:131
↓ 366 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
↓ 339 callers
Method
next
()
apps/web/src/app/admin-console/organizations/members/components/invite-members-dialog/by-link-tab-tour.component.ts:81
↓ 333 callers
Method
assign
(target: T, source: Partial<T>)
libs/common/src/platform/misc/utils.ts:579
↓ 333 callers
Method
t
(id: string, p1?: string, p2?: string, p3?: string)
libs/components/src/utils/i18n-mock.service.ts:8
↓ 318 callers
Method
send
( method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH", path: string, body: any, authedOrUserId
libs/common/src/services/api.service.ts:1439
↓ 312 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
↓ 305 callers
Method
set
(appId: string, value: ConnectedApp)
apps/desktop/src/services/biometric-message-handler.service.ts:51
↓ 299 callers
Method
set
(id: string, value: SdkType)
libs/common/src/platform/services/sdk/client-managed-state.ts:74
↓ 297 callers
Method
setValue
Sets the chip's value — used to seed initial filters.
libs/components/src/filter-menu/filter-tokens.ts:27
↓ 286 callers
Function
input
()
libs/components/src/search/search.component.spec.ts:40
↓ 267 callers
Method
query
( root: Document | ShadowRoot | Element, queryString: string, treeWalkerFilter: (element: Element)
apps/browser/src/autofill/services/abstractions/dom-query.service.ts:4
↓ 266 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
↓ 260 callers
Method
parse
(data: string)
libs/importer/src/importers/importer.ts:5
↓ 239 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
↓ 238 callers
Method
emit
Fire the callback as the browser would after a layout change.
libs/components/src/layout/layout.component.spec.ts:34
↓ 221 callers
Method
required
()
libs/components/src/switch/switch.component.ts:150
↓ 213 callers
Method
toString
()
bitwarden_license/bit-common/src/dirt/organization-integrations/models/integration-builder.ts:21
↓ 207 callers
Method
click
()
libs/components/src/tabs/shared/tab-list-item.directive.ts:34
↓ 196 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
↓ 184 callers
Function
mockAccountServiceWith
( userId: UserId, info: Partial<AccountInfo> = {}, activity: Record<UserId, Date> = {}, )
libs/common/spec/fake-account-service.ts:23
↓ 178 callers
Method
showToast
( type: "error" | "success" | "warning" | "info", title: string, text: string | string[], opti
apps/web/src/app/core/web-platform-utils.service.ts:173
↓ 174 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:93
↓ 174 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:231
↓ 172 callers
Method
navigate
Moves between the import's screens, keeping `returnTo` and the vault scope in the URL.
apps/web/src/app/tools/import/import-route-context.ts:45
↓ 166 callers
Method
now
()
libs/scheduling/src/task-scheduler.service.ts:61
↓ 165 callers
Method
isNullOrWhitespace
(str: string | null | undefined)
libs/common/src/platform/misc/utils.ts:561
↓ 161 callers
Method
showToast
(msg: any)
apps/browser/src/popup/app.component.ts:360
↓ 159 callers
Method
sort
(sort: Sort)
libs/components/src/table/table-data-source.ts:52
↓ 153 callers
Method
getFeatureFlag$
(key: Flag)
libs/common/src/platform/services/config/default-config.service.ts:190
↓ 143 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
↓ 137 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
↓ 136 callers
Method
add
()
apps/web/src/app/settings/domain-rules.component.ts:92
↓ 136 callers
Function
asUuid
(uuid: string)
libs/common/src/platform/abstractions/sdk/sdk.service.ts:88
↓ 133 callers
Method
getUser
()
libs/components/src/utils/state-mock.ts:127
↓ 133 callers
Method
warning
(message?: any, ...optionalParams: any[])
libs/logging/src/console-log.service.ts:31
↓ 132 callers
Method
from
(message: Message)
apps/desktop/desktop_native/napi/src/ipc.rs:14
↓ 130 callers
Method
newGuid
@deprecated Use newGuid from @bitwarden/guid instead
libs/common/src/platform/misc/utils.ts:428
↓ 130 callers
Method
showToast
(options: ToastOptions)
libs/components/src/toast/toast.service.ts:24
↓ 127 callers
Function
svg
(strings: TemplateStringsArray, ...values: unknown[])
libs/assets/src/svg/svg.ts:19
↓ 124 callers
Function
filter
(c: CipherView)
apps/web/src/app/dirt/reports/pages/cipher-report.component.ts:123
↓ 123 callers
Method
organizations$
()
apps/web/src/app/layouts/product-switcher/product-switcher.stories.ts:37
↓ 120 callers
Method
get
(userId: UserId, cipherId: CipherId)
bitwarden_license/bit-web/src/app/pam/services/pam-revealed-cipher.service.ts:117
↓ 118 callers
Method
clear
Reset this filter's selection.
libs/components/src/filter-menu/filter-tokens.ts:108
↓ 113 callers
Method
has
(key: string, options: StorageOptions = this.defaultOptions)
apps/web/src/app/core/html-storage.service.ts:49
↓ 113 callers
Function
resolve
(version: string)
apps/desktop/src/platform/preload.ts:126
↓ 110 callers
Function
getUserId
()
apps/web/src/app/vault/components/vault-items/vault-items.stories.ts:119
↓ 105 callers
Method
has
(key: string, options?: StorageOptions)
apps/browser/src/platform/storage/offscreen-storage.service.ts:30
↓ 105 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
↓ 103 callers
Method
get
(key: string, options?: StorageOptions)
apps/browser/src/platform/storage/offscreen-storage.service.ts:14
↓ 103 callers
Method
replace
(&mut self, new_keys: Vec<SSHKeyData>)
apps/desktop/desktop_native/napi/src/sshagent.rs:213
↓ 98 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
↓ 96 callers
Method
clone
()
apps/desktop/src/vault/app/vault-v3/vault-items/vault-cipher-row.component.ts:199
↓ 94 callers
Function
filter
(level: LogLevel)
libs/logging/src/console-log.service.spec.ts:36
↓ 92 callers
Function
uuidAsString
(uuid: T)
libs/common/src/platform/abstractions/sdk/sdk.service.ts:99
↓ 91 callers
Method
send
(call: () => Promise<APIResponse>)
e2e/src/seeder/seeder-api.ts:84
↓ 91 callers
Method
unsubscribe
Unsubscribes from the observable
libs/common/spec/observable-tracker.ts:35
↓ 86 callers
Method
addEventListener
(type: string, callback: EventListener)
apps/browser/src/autofill/fido2/content/messaging/messenger.spec.ts:306
↓ 85 callers
Method
userClient$
(userId: UserId)
libs/common/src/platform/spec/mock-sdk.service.ts:28
↓ 84 callers
Method
getFeatureFlag
(key: Flag)
libs/common/src/platform/services/config/default-config.service.ts:205
↓ 83 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
↓ 82 callers
Method
complete
()
libs/common/src/tools/state/user-state-subject.ts:481
↓ 82 callers
Method
log
(content: Jsonify<T>, level: LogLevelType, message?: string)
libs/common/src/tools/log/default-semantic-logger.ts:51
↓ 82 callers
Method
resolve
(route: ActivatedRouteSnapshot)
bitwarden_license/bit-web/src/app/dirt/organization-integrations/organization-integrations.resolver.ts:29
↓ 79 callers
Method
dispatchEvent
(event: Event)
apps/browser/src/autofill/fido2/content/messaging/messenger.spec.ts:311
↓ 78 callers
Method
disable
()
libs/components/src/dialog/dialog.service.ts:34
↓ 78 callers
Method
has
(format: ImportType)
libs/importer/src/sdk/sdk-importer-registry.ts:18
↓ 77 callers
Method
len
(&self)
apps/desktop/desktop_native/win_webauthn/src/api/webauthn.rs:401
↓ 76 callers
Method
navigate
(filter: RoutedVaultFilterModel)
libs/vault/src/services/routed-vault-filter-bridge.service.ts:77
↓ 75 callers
Method
success
(data?: BaseResponse)
apps/cli/src/models/response.ts:60
↓ 74 callers
Function
mockAccountInfoWith
(info: Partial<AccountInfo> = {})
libs/common/spec/fake-account-service.ts:13
↓ 73 callers
Method
showError
(message: string)
libs/importer/src/importers/keeper/access/ui/ui.ts:59
↓ 68 callers
Method
init
()
apps/browser/src/autofill/content/abstractions/autofill-init.ts:49
↓ 68 callers
Method
test
()
apps/browser/src/platform/decorators/dev-flag.decorator.spec.ts:12
↓ 66 callers
Method
fromB64ToArray
(str: string)
libs/common/src/platform/misc/utils.ts:103
↓ 65 callers
Method
complete
(&self, credential: serde_json::Value)
apps/desktop/desktop_native/autofill_provider/src/assertion.rs:126
↓ 65 callers
Method
initLoginCipher
()
libs/importer/src/importers/base-importer.spec.ts:11
↓ 64 callers
Method
focus
()
libs/components/src/link/link.component.ts:190
↓ 63 callers
Method
replace
(ciphers: { [id: string]: CipherData }, userId: UserId)
libs/common/src/vault/services/cipher.service.ts:1173
↓ 63 callers
Method
setUserState
()
libs/components/src/utils/state-mock.ts:123
↓ 62 callers
Method
submit
(value: unknown)
libs/importer/src/components/import-controls/direct/keeper/keeper-ui-parity.spec.ts:30
↓ 60 callers
Method
get
(key: string, options: StorageOptions = this.defaultOptions)
apps/web/src/app/core/html-storage.service.ts:30
↓ 57 callers
Method
badRequest
(message: string)
apps/cli/src/models/response.ts:46
↓ 57 callers
Function
mockMigrationHelper
( storageJson: any, stateVersion = 0, type: MigrationHelperType = "general", clientType: ClientType =
libs/state/src/state-migrations/migration-helper.spec.ts:203
↓ 56 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:704
↓ 56 callers
Function
assertNonNullish
( val: T, name: string, ctx?: string, )
libs/common/src/auth/utils/assert-non-nullish.util.ts:36
next →
1–100 of 21,506, ranked by callers