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
↓ 2 callers
Function
toQueryString
(filter: AuditTrailFilter)
bitwarden_license/bit-web/src/app/pam/access-audit/default-audit-api.service.ts:51
↓ 2 callers
Method
toSdkAccessResponse
(obj: SendAccessResponse)
libs/common/src/tools/send/models/response/send-access.response.ts:51
↓ 2 callers
Method
toSdkAttachment
* Maps to SDK Attachment * * @returns {SdkAttachment} - The SDK Attachment object
libs/common/src/vault/models/domain/attachment.ts:74
↓ 2 callers
Method
toSdkBankAccount
* Maps BankAccount to SDK format.
libs/common/src/vault/models/domain/bank-account.ts:81
↓ 2 callers
Method
toSdkCard
* Maps Card to SDK format. * * @returns {SdkCard} The SDK card object.
libs/common/src/vault/models/domain/card.ts:67
↓ 2 callers
Method
toSdkCreateCipherRequest
* Maps CipherView to an SDK CipherCreateRequest * * @returns {CipherCreateRequest} The SDK cipher create request object
libs/common/src/vault/models/view/cipher.view.ts:393
↓ 2 callers
Method
toSdkFido2Credential
* Maps Fido2Credential to SDK format. * * @returns {SdkFido2Credential} The SDK Fido2Credential object.
libs/common/src/vault/models/domain/fido2-credential.ts:97
↓ 2 callers
Method
toSdkField
* Maps Field to SDK format. * * @returns {SdkField} The SDK field object.
libs/common/src/vault/models/domain/field.ts:70
↓ 2 callers
Method
toSdkIdentity
* Maps Identity to SDK format. * * @returns {SdkIdentity} The SDK identity object.
libs/common/src/vault/models/domain/identity.ts:115
↓ 2 callers
Method
toSdkIdentityView
* Converts the IdentityView to an SDK IdentityView. * Empty strings are converted to undefined to prevent the SDK from encrypting * them as non-
libs/common/src/vault/models/view/identity.view.ts:201
↓ 2 callers
Function
toSdkLocalData
( localData: LocalData | undefined, )
libs/common/src/vault/models/data/local.data.ts:31
↓ 2 callers
Method
toSdkLogin
* Maps Login to SDK format. * * @returns {SdkLogin} The SDK login object.
libs/common/src/vault/models/domain/login.ts:104
↓ 2 callers
Method
toSdkLoginUri
* Maps LoginUri to SDK format. * * @returns {SdkLoginUri} The SDK login uri object.
libs/common/src/vault/models/domain/login-uri.ts:64
↓ 2 callers
Method
toSdkOrgKeys
( orgKeys: Record<OrganizationId, EncString>, )
libs/key-management/src/key.service.ts:219
↓ 2 callers
Method
toSdkPartialUpdateCipherRequest
* Maps CipherView to an SDK CipherPartialEditRequest * * @returns {CipherPartialEditRequest} The SDK cipher edit request object
libs/common/src/vault/models/view/cipher.view.ts:440
↓ 2 callers
Method
toSdkPasswordHistory
* Maps Password to SDK format. * * @returns {PasswordHistory} The SDK password history object.
libs/common/src/vault/models/domain/password.ts:50
↓ 2 callers
Method
toSdkPasswordHistoryView
* Converts the PasswordHistoryView to an SDK PasswordHistoryView.
libs/common/src/vault/models/view/password-history.view.ts:48
↓ 2 callers
Method
toSdkSecureNote
* Maps Secure note to SDK format. * * @returns {SdkSecureNote} The SDK secure note object.
libs/common/src/vault/models/domain/secure-note.ts:42
↓ 2 callers
Method
toSdkSecureNoteView
* Converts the SecureNoteView to an SDK SecureNoteView. * The view implements the SdkView so we can safely return `this`
libs/common/src/vault/models/view/secure-note.view.ts:44
↓ 2 callers
Method
toSdkSshKey
* Maps SSH key to SDK format. * * @returns {SdkSshKey} The SDK SSH key object.
libs/common/src/vault/models/domain/ssh-key.ts:58
↓ 2 callers
Method
toSdkSshKeyView
* Converts the SshKeyView to an SDK SshKeyView.
libs/common/src/vault/models/view/ssh-key.view.ts:55
↓ 2 callers
Function
toSdkType
Both enums share the server's numeric values.
apps/web/src/app/auth/emergency-access/services/emergency-access.service.ts:585
↓ 2 callers
Method
toSecureNoteData
()
libs/common/src/vault/models/domain/secure-note.ts:21
↓ 2 callers
Method
toSendData
* Serializes this domain `Send` to its `SendData` (string-shaped) form — the representation * stored in `SEND_USER_ENCRYPTED` state and consumed by
libs/common/src/tools/send/models/domain/send.ts:246
↓ 2 callers
Function
toServiceAccountsApItemViews
( policies: ServiceAccountAccessPolicyView[], )
bitwarden_license/bit-web/src/app/secrets-manager/shared/access-policies/access-policy-selector/models/ap-item-view.type.ts:170
↓ 2 callers
Method
toSettings
(env: Environment)
libs/common/src/platform/services/sdk/default-sdk.service.ts:351
↓ 2 callers
Method
toSettings
(env: Environment)
libs/common/src/platform/services/sdk/register-sdk.service.ts:204
↓ 2 callers
Method
toSshKeyData
()
libs/common/src/vault/models/domain/ssh-key.ts:29
↓ 2 callers
Method
toStoredOptions
(options: UsernameGeneratorOptions)
libs/tools/generator/extensions/legacy/src/legacy-username-generation.service.ts:263
↓ 2 callers
Function
toTsBiometricsStatus
(status: SdkBiometricsStatus)
libs/common/src/key-management/biometrics-status-mapper.ts:23
↓ 2 callers
Function
toUserApItemViews
(policies: UserAccessPolicyView[])
bitwarden_license/bit-web/src/app/secrets-manager/shared/access-policies/access-policy-selector/models/ap-item-view.type.ts:140
↓ 2 callers
Method
toV2UpgradeToken
()
libs/common/src/key-management/upgrade-token/models/response/v2-upgrade-token.response.ts:25
↓ 2 callers
Function
toVendorId
(algorithm: CredentialAlgorithm)
libs/tools/generator/core/src/metadata/util.ts:39
↓ 2 callers
Method
toWrappedAccountCryptographicState
()
libs/common/src/key-management/keys/response/private-keys.response.ts:58
↓ 2 callers
Function
to_plugin_credentials
Drops credential types Windows cannot store, converts the rest, and skips any individual credential Windows would reject rather than failing the whole
apps/desktop/desktop_native/core/src/autofill/windows/sync.rs:29
↓ 2 callers
Method
toggleAlwaysOnTop
()
apps/desktop/src/main/window.main.ts:659
↓ 2 callers
Method
toggleFavorite
(cipher: CipherViewLike)
libs/vault/src/services/cipher-action.service.ts:88
↓ 2 callers
Function
toggleIrrelevant
(draft: WebmapperDraft)
apps/browser/src/autofill/webmapper/draft.ts:263
↓ 2 callers
Method
toggleLoginUiState
( value: LoginUiState, mpEntryLayoutOverride?: Partial<AnonLayoutWrapperData>, )
libs/auth/src/angular/login/login.component.ts:545
↓ 2 callers
Method
tokenNeedsRefresh
(userId: UserId, minutes = 5)
libs/common/src/auth/services/token.service.ts:1030
↓ 2 callers
Method
tokenSecondsRemaining
(userId: UserId, offsetSeconds = 0)
libs/common/src/auth/services/token.service.ts:1020
↓ 2 callers
Function
toolbar
(fixture: ComponentFixture<AccessRulesComponent>)
bitwarden_license/bit-web/src/app/pam/access-rules/access-rules.component.spec.ts:963
↓ 2 callers
Function
toolbar
(f: ComponentFixture<TargetSystemsTabComponent>)
bitwarden_license/bit-web/src/app/pam/rotation/target-systems/target-systems-tab.component.spec.ts:2025
↓ 2 callers
Function
toolbar
()
libs/components/src/table/v2/bit-table-toolbar.component.spec.ts:246
↓ 2 callers
Method
totpAllowed
* Determines if TOTP generation is allowed for a cipher and user.
libs/vault/src/services/copy-cipher-field.service.ts:218
↓ 2 callers
Method
transferPersonalItems
( userId: UserId, organizationId: OrganizationId, defaultCollectionId: CollectionId, )
libs/vault/src/services/default-vault-items-transfer.service.ts:216
↓ 2 callers
Method
transform
(key: string)
apps/web/src/app/billing/shared/trial-payment-dialog/trial-payment-dialog.component.spec.ts:31
↓ 2 callers
Function
transitionBuffer$
( sources: BufferSources & { now: () => number }, )
apps/browser/src/autofill/tab-lifecycle/transition-buffer/factories.ts:20
↓ 2 callers
Method
translateValidationError
(error: any)
libs/importer/src/components/chrome/import-chrome.component.ts:183
↓ 2 callers
Method
triageField
* Analyzes a single field to determine why it was qualified (or not qualified) for autofill. * Returns a detailed result with all qualification che
apps/browser/src/autofill/services/abstractions/autofill-triage.service.ts:14
↓ 2 callers
Function
trigger
()
apps/desktop/src/auth/components/account-switcher/account-switcher-v2.component.spec.ts:49
↓ 2 callers
Function
trigger
()
apps/web/src/app/vault/individual-vault/vault-filter/components/organization-options.component.spec.ts:132
↓ 2 callers
Function
trigger
()
libs/vault/src/components/card-grid/card-grid.component.spec.ts:149
↓ 2 callers
Function
trigger
()
libs/vault/src/components/my-folders/my-folder-menu.component.spec.ts:57
↓ 2 callers
Function
trigger
()
libs/vault/src/components/collection-options-menu/collection-options-menu.component.spec.ts:140
↓ 2 callers
Function
trigger
()
libs/components/src/table/v2/bit-table-toolbar.component.spec.ts:677
↓ 2 callers
Method
triggerClickOnElement
* Simulates a click event on the element. * @param {HTMLElement} element * @private
apps/browser/src/autofill/services/insert-autofill-content.service.ts:311
↓ 2 callers
Method
triggerDelayedInlineMenuClosure
* Sends a message to the sender tab to trigger a delayed closure of the inline menu. * This is used to ensure that we capture click events on the i
apps/browser/src/autofill/background/overlay.background.ts:1729
↓ 2 callers
Method
triggerDestroyInlineMenuListeners
* Triggers a removal and destruction of all inline menu listeners for the given frame. * No ops when tab or frameId is missing. * * @param ta
apps/browser/src/autofill/background/overlay.background.ts:1346
↓ 2 callers
Function
triggerPortOnConnectEvent
(port: chrome.runtime.Port)
apps/browser/src/autofill/spec/testing-utils.ts:104
↓ 2 callers
Function
triggerRuntimeOnConnectEvent
(port: chrome.runtime.Port)
apps/browser/src/autofill/spec/testing-utils.ts:88
↓ 2 callers
Function
triggerTabOnActivatedEvent
(activeInfo: chrome.tabs.OnActivatedInfo)
apps/browser/src/autofill/spec/testing-utils.ts:136
↓ 2 callers
Method
triggerTask
* Triggers a task. * * @param taskName - The name of the task. * @param _periodInMinutes - The period in minutes. Unused in the base implemen
libs/scheduling/src/default-task-scheduler.service.ts:78
↓ 2 callers
Function
triggerWebNavigationOnCompletedEvent
( details: chrome.webNavigation.WebNavigationFramedCallbackDetails, )
apps/browser/src/autofill/spec/testing-utils.ts:188
↓ 2 callers
Function
triggerWebRequestOnCompletedEvent
(details: chrome.webRequest.OnCompletedDetails)
apps/browser/src/autofill/spec/testing-utils.ts:221
↓ 2 callers
Method
trimAndRemoveNonPrintableText
* Removes non-printable characters from the passed text * content and trims leading and trailing whitespace. * @param {string} textContent *
apps/browser/src/autofill/services/collect-autofill-content.service.ts:1270
↓ 2 callers
Function
trimmedEmailWithMessage
(message: string)
libs/importer/src/components/onepassword/onepassword-validators.ts:17
↓ 2 callers
Method
truncateText
* Truncates text to a maximum length, adding ellipsis if truncated.
apps/browser/src/autofill/services/autofill-triage.service.ts:436
↓ 2 callers
Function
try_prompt
Sends an OS notification prompt for the user to unlock/allow the application to read and write keys.
apps/desktop/desktop_native/core/src/password/unix.rs:63
↓ 2 callers
Function
typeAndContinue
(id: string, value: string)
libs/importer/src/components/import-controls/import-controls-lastpass-login.spec.ts:78
↓ 2 callers
Function
type_input
Attempts to type the input text wherever the user's cursor is. # Arguments `input` an array of utf-16 encoded characters to insert. `keyboard_shortc
apps/desktop/desktop_native/autotype/src/mvp/mod.rs:39
↓ 2 callers
Function
uint8ArrayToByteString
(data: Uint8Array)
libs/importer/src/importers/keeper/access/services/crypto.ts:392
↓ 2 callers
Method
unicodeSafeSubstring
(str: string, count: number)
apps/desktop/src/app/components/avatar.component.ts:144
↓ 2 callers
Method
unicodeSafeSubstring
(str: string, count: number)
libs/components/src/avatar/avatar.component.ts:202
↓ 2 callers
Function
uniqueInArrayValidator
(values: Array<string>, errorMessage: string)
bitwarden_license/bit-web/src/app/admin-console/organizations/manage/domain-verification/domain-add-edit-dialog/validators/unique-in-array.validator.ts:2
↓ 2 callers
Function
unlicensedForPam
(organization: Organization | undefined)
bitwarden_license/bit-pam/src/services/pam-membership.ts:26
↓ 2 callers
Method
unload
(fallback = false)
apps/browser/src/autofill/popup/fido2/fido2.component.ts:434
↓ 2 callers
Method
unloadStripe
* Removes the Stripe Elements instance for the specified component. * Only removes the Stripe script and iframes when the last instance is unloaded
apps/web/src/app/billing/services/stripe.service.ts:297
↓ 2 callers
Method
unlockVault
* Facilitates opening the unlock popout window. * * @param port - The port of the inline menu list
apps/browser/src/autofill/background/overlay.background.ts:2605
↓ 2 callers
Method
unlockWithBiometrics
(userId: UserId)
libs/automation-driver/src/capabilities/lock.ts:58
↓ 2 callers
Method
unlockWithPin
(userId: UserId, pin: string)
libs/automation-driver/src/capabilities/lock.ts:54
↓ 2 callers
Method
unmarkApplicationsAsCritical
* Unmark multiple applications as critical in a single operation * * Mutates all application entries first, then recomputes the summary once.
bitwarden_license/bit-common/src/dirt/access-intelligence/models/view/access-report.view.ts:219
↓ 2 callers
Method
unobserveContainerElement
* Disconnects the mutation observer for the element which contains the inline menu.
apps/browser/src/autofill/overlay/inline-menu/content/autofill-inline-menu-content.service.ts:464
↓ 2 callers
Method
unobserveCustomElements
* Disconnects the mutation observers that are used to verify that the inline menu * elements are not modified by the website.
apps/browser/src/autofill/overlay/inline-menu/content/autofill-inline-menu-content.service.ts:450
↓ 2 callers
Method
unregisterContentScriptsMv3
* Handles unregistering of static content scripts within manifest v3. * * @param filter - Optional filter to unregister content scripts. Passing
apps/browser/src/platform/browser/browser-api.ts:1099
↓ 2 callers
Method
unregisterFilter
(control: FilterControl)
libs/components/src/filter-menu/filter-tokens.ts:36
↓ 2 callers
Method
unsafeAutofillTabWithCipher
( tab: chrome.tabs.Tab, cipher: CipherView, options?: Partial<AutoFillOptions>, )
apps/browser/src/autofill/background/autofill-orchestrator.ts:275
↓ 2 callers
Method
unsetPin
(userId: UserId)
libs/common/src/key-management/pin/pin.service.implementation.ts:52
↓ 2 callers
Function
unsupported_dsa_key_blob
Returns a public key blob with an unsupported algorithm (DSA). The blob only needs the algorithm-name prefix to trigger a keystore lookup; no valid DS
apps/desktop/desktop_native/ssh_agent/tests/common.rs:200
↓ 2 callers
Function
untilStopped
(source: EventEmitter, description: string)
apps/cli/src/commands/serve.command.ts:82
↓ 2 callers
Method
untrustDevices
(deviceIds: string[])
libs/common/src/auth/services/devices-api.service.implementation.ts:122
↓ 2 callers
Method
update
()
libs/components/src/form-field/password-input-toggle.directive.ts:69
↓ 2 callers
Method
updateActiveLink
()
libs/components/src/tabs/tab-nav-bar/tab-nav-bar.component.ts:104
↓ 2 callers
Method
updateAllowSharingUnlockStateWithDesktop
(enabled: boolean)
apps/browser/src/auth/popup/settings/account-security.component.ts:424
↓ 2 callers
Method
updateAllowedDomains
( userId: UserId, orgId: OrganizationId, allowedDomains: string[], )
libs/organization-invite-link/src/services/default-organization-invite-link.service.ts:57
↓ 2 callers
Method
updateAtRiskPasswordState
(userId: UserId, updatedState: AtRiskPasswordCalloutData)
libs/vault/src/services/at-risk-password-callout.service.ts:92
↓ 2 callers
Method
updateAuthStatus
* Updates the authentication status of the user. This will update the icon * displayed on the button. * * @param authStatus - The authenticat
apps/browser/src/autofill/overlay/inline-menu/pages/button/autofill-inline-menu-button.ts:82
↓ 2 callers
Method
updateAutofillElementsAfterMutation
* Updates the autofill elements after a DOM mutation has occurred. * Uses adaptive debouncing - extends timeout if DOM is "hot" (rapid mutations).
apps/browser/src/autofill/services/collect-autofill-content.service.ts:1803
↓ 2 callers
Method
updateBiometric
* @deprecated This will be removed after shared unlock is rolled out
apps/browser/src/auth/popup/settings/account-security.component.ts:380
↓ 2 callers
Method
updateBiometricHandler
(value: boolean)
apps/desktop/src/app/accounts/settings-dialog.component.ts:459
← previous
next →
5,401–5,500 of 21,506, ranked by callers