Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitwarden/clients
/ functions
Functions
21,738 in github.com/bitwarden/clients
⨍
Functions
21,738
◇
Types & classes
9,207
↓ 1 callers
Function
setup
()
bitwarden_license/bit-web/src/app/pam/access-requests/access-request-route/access-request-detail.service.spec.ts:72
↓ 1 callers
Function
setup
()
bitwarden_license/bit-web/src/app/pam/vault-filter-controlled-access/controlled-access-item-filter.spec.ts:14
↓ 1 callers
Function
setup
(cols: { id: string; name: string }[] = [])
bitwarden_license/bit-web/src/app/pam/services/access-rules.service.spec.ts:48
↓ 1 callers
Function
setup
()
bitwarden_license/bit-web/src/app/pam/access-rules/access-rule-edit/access-rule-edit.component.spec.ts:94
↓ 1 callers
Function
setup
Renders the real template.
bitwarden_license/bit-web/src/app/pam/rotation/access-connectors/access-connectors-tab.component.spec.ts:870
↓ 1 callers
Function
setup
(jobs: RotationJob[])
bitwarden_license/bit-web/src/app/pam/rotation/managed-credentials/rotation-history.component.spec.ts:32
↓ 1 callers
Function
setup
Renders the real template.
bitwarden_license/bit-web/src/app/pam/rotation/target-systems/target-systems-tab.component.spec.ts:1472
↓ 1 callers
Function
setup
(routeTargetSystemId: string = uuidAsString(SYSTEM_ID))
bitwarden_license/bit-web/src/app/pam/rotation/target-systems/target-system-edit.component.spec.ts:1060
↓ 1 callers
Function
setup
(vfo1Enabled = false)
libs/vault/src/components/assign-collections.component.spec.ts:107
↓ 1 callers
Function
setup
(options: SetupOptions = {})
libs/vault/src/components/shared-folders/shared-folders-breadcrumbs.component.spec.ts:44
↓ 1 callers
Function
setup
(folderId: string, options: SetupOptions = {})
libs/vault/src/components/my-folders/my-folder-breadcrumbs.component.spec.ts:38
↓ 1 callers
Function
setup
(folderId: string, folders: FolderView[])
libs/vault/src/components/my-folders/my-folder-menu.component.spec.ts:32
↓ 1 callers
Function
setup
(options: SetupOptions = {})
libs/vault/src/components/collection-options-menu/collection-options-menu.component.spec.ts:89
↓ 1 callers
Function
setup
()
libs/vault/src/cipher-form/components/attachments/cipher-attachments.component.spec.ts:483
↓ 1 callers
Function
setup
(flagEnabled: boolean, queryParams: Record<string, string> = {})
libs/vault/src/services/routed-vault-filter.service.spec.ts:13
↓ 1 callers
Function
setup
(url: string)
libs/components/src/utils/query-param-store.router.spec.ts:9
↓ 1 callers
Function
setup
* Navigates to `url` and renders the host at that route, so the crumbs resolve against a real * `Router` and `ActivatedRoute` — and are created *af
libs/components/src/breadcrumbs/breadcrumb.component.spec.ts:52
↓ 1 callers
Function
setup
(grouped: boolean)
libs/components/src/filter-menu/filter-menu.component.spec.ts:283
↓ 1 callers
Function
setup
(url: string)
libs/components/src/table/v2/table-v2.component.router.spec.ts:99
↓ 1 callers
Function
setup
(importType: UpgradeImportType, clientType: ClientType)
libs/importer/src/components/import-controls/import-controls.component.spec.ts:113
↓ 1 callers
Function
setup
()
libs/importer/src/components/import-shell-progress/import-shell-progress.component.spec.ts:83
↓ 1 callers
Function
setup
(activeUser: Account | null, userHasPassword: boolean | null = null)
libs/angular/src/auth/guards/has-password.guard.spec.ts:27
↓ 1 callers
Function
setup
(authType: AuthenticationType | null)
libs/angular/src/auth/guards/active-auth.guard.spec.ts:22
↓ 1 callers
Function
setup
( authStatus: AuthenticationStatus, forceSetPasswordReason: ForceSetPasswordReason, keyConnectorSe
libs/angular/src/auth/guards/auth.guard.spec.ts:24
↓ 1 callers
Function
setup
( activeUser: Account | null, authStatus: AuthenticationStatus | null = null, tdeEnabled: boolean
libs/angular/src/auth/guards/unauth.guard.spec.ts:29
↓ 1 callers
Function
setup
( activeUser: Account | null, authStatus: AuthenticationStatus | null = null, tdeEnabled: boolean
libs/angular/src/auth/guards/tde-decryption-required.guard.spec.ts:28
↓ 1 callers
Function
setup
(activeUser: Account | null, authStatus: AuthenticationStatus | null)
libs/angular/src/auth/guards/redirect-to-vault-if-unlocked/redirect-to-vault-if-unlocked.guard.spec.ts:25
↓ 1 callers
Function
setup
(featureGuard: CanActivateFn, flagValue: any)
libs/angular/src/platform/guard/feature-flag.guard.spec.ts:28
↓ 1 callers
Function
setup
(statuses: Record<UserId, AuthenticationStatus>, active: UserId | null = userA)
libs/common/src/auth/account-switcher/default-account-switcher.service.spec.ts:46
↓ 1 callers
Function
setupAccounts
( accounts: Record< string, { authStatus?: AuthenticationStatus; isAuthenticat
libs/common/src/key-management/vault-timeout/services/vault-timeout.service.spec.ts:73
↓ 1 callers
Method
setupAppProtocol
* Register a custom bw-desktop-file:// protocol handler to serve the renderer's bundled files following Electron's * guidance to use custom schemes
apps/desktop/src/main/window.main.ts:431
↓ 1 callers
Function
setupBadge
(provideBadge: boolean)
apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.spec.ts:311
↓ 1 callers
Function
setupBanner
(provideBanner: boolean)
libs/vault/src/cipher-view/cipher-view.component.spec.ts:158
↓ 1 callers
Function
setupBulk
( rules: AccessRuleView[], confirmed = true, )
bitwarden_license/bit-web/src/app/pam/access-rules/access-rules.component.spec.ts:187
↓ 1 callers
Method
setupBusinessUnit
( id: string, request: { userId: string; token: string; providerKey: string; o
libs/common/src/billing/services/organization/organization-billing-api.service.ts:54
↓ 1 callers
Method
setupCardDetails
( personalPlans: PersonalSubscriptionPricingTier[], businessPlans: BusinessSubscriptionPricingTier[],
apps/web/src/app/billing/individual/upgrade/premium-org-upgrade-plan-selection/premium-org-upgrade-plan-selection.component.ts:97
↓ 1 callers
Method
setupCardDetails
Setup card details for the pricing tiers. * This can be extended in the future for business plans, etc.
apps/web/src/app/billing/individual/upgrade/upgrade-account/upgrade-account.component.ts:97
↓ 1 callers
Method
setupCipherListScrollListeners
* Sets up the scroll listeners for the ciphers list. These are used to trigger an update of * the list of ciphers when the user scrolls to the bott
apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts:997
↓ 1 callers
Method
setupClientVerificationOptionChangeHandler
()
libs/auth/src/angular/user-verification/user-verification-form-input.component.ts:241
↓ 1 callers
Method
setupClosingActions
(isContextMenu: boolean)
libs/components/src/menu/menu-trigger-for.directive.ts:214
↓ 1 callers
Function
setupCommonMocks
()
libs/admin-console/src/common/organization-user/services/default-organization-user.service.spec.ts:50
↓ 1 callers
Function
setupComponent
(subscription: SubscriptionPreview, title = "Test Plan")
libs/subscription/src/components/subscription-card/subscription-card.component.spec.ts:66
↓ 1 callers
Function
setupComponent
(storage: Storage)
libs/subscription/src/components/storage-card/storage-card.component.spec.ts:43
↓ 1 callers
Function
setupComponent
()
libs/pricing/src/components/cart-summary/cart-summary.component.spec.ts:44
↓ 1 callers
Function
setupComponent
( unlockOptions: Partial<UnlockOptions> = {}, biometricUnlockBtnText: string = "default", account:
libs/key-management-ui/src/lock/components/master-password-lock/master-password-lock.component.spec.ts:62
↓ 1 callers
Method
setupConnection
()
bitwarden_license/bit-web/src/app/dirt/organization-integrations/integration-card/integration-card.component.ts:153
↓ 1 callers
Function
setupCopy
( rules: AccessRuleView[] = [SOURCE], )
bitwarden_license/bit-web/src/app/pam/access-rules/access-rules.component.spec.ts:263
↓ 1 callers
Function
setupCreateWithQueryParams
(queryParams: Record<string, string>)
bitwarden_license/bit-web/src/app/pam/rotation/target-systems/target-system-edit.component.spec.ts:139
↓ 1 callers
Function
setupCreateWithTemplate
(template: string)
bitwarden_license/bit-web/src/app/pam/rotation/target-systems/target-system-edit.component.spec.ts:106
↓ 1 callers
Function
setupDiscount
(isFromSchedule: boolean)
apps/web/src/app/billing/organizations/change-plan-dialog.component.spec.ts:515
↓ 1 callers
Function
setupDrawerDetails
(overrides: Partial<DrawerDetails>)
bitwarden_license/bit-web/src/app/dirt/access-intelligence/shared/risk-insights-drawer-dialog.component.spec.ts:65
↓ 1 callers
Method
setupDrawerSubscription
* Opens or closes the drawer based on the current drawer state and report data. * Derives drawer content from the report on each state change.
bitwarden_license/bit-web/src/app/dirt/access-intelligence/v2/access-intelligence-page/access-intelligence-page.component.ts:387
↓ 1 callers
Function
setupEnvironmentDefaults
()
apps/browser/src/autofill/content/auto-submit-login.spec.ts:312
↓ 1 callers
Function
setupEnvironmentService
( envService: MockProxy<EnvironmentService>, region: Region = Region.US, )
libs/common/src/billing/services/subscription-pricing.service.spec.ts:343
↓ 1 callers
Function
setupExtensionDisconnectAction
* Duplicate implementation of the same named method within `apps/browser/src/autofill/utils/index.ts`. * This is done due to some strange observed co
apps/browser/src/autofill/content/content-message-handler.ts:175
↓ 1 callers
Function
setupExtensionDisconnectAction
* Opens a long-lived port whose only purpose is to surface extension-context * teardown via `onDisconnect`. When the extension is reloaded (e.g. via
apps/browser/src/platform/ipc/content/ipc-content-script.ts:72
↓ 1 callers
Function
setupExtensionEventListeners
()
apps/browser/src/autofill/content/autofiller.ts:75
↓ 1 callers
Function
setupExtensionGuard
(route?: ActivatedRouteSnapshot)
apps/web/src/app/vault/guards/setup-extension-redirect.guard.spec.ts:59
↓ 1 callers
Method
setupExtensionListeners
* Sets up the listeners for the extension messages and the tab events.
apps/browser/src/autofill/background/overlay-notifications.background.ts:606
↓ 1 callers
Method
setupExtensionListeners
* Sets up the extension message listeners for the overlay.
apps/browser/src/autofill/background/overlay.background.ts:3444
↓ 1 callers
Method
setupExtensionMessageListener
()
apps/browser/src/autofill/background/notification.background.ts:1844
↓ 1 callers
Method
setupExtensionMessageListener
* Sets up the listener for extension messages.
apps/browser/src/platform/offscreen-document/offscreen-document.ts:62
↓ 1 callers
Method
setupExtensionMessageListeners
* Sets up the extension message listeners for the content script.
apps/browser/src/autofill/content/autofill-init.ts:253
↓ 1 callers
Function
setupExtensionRedirectGuard
()
apps/web/src/app/vault/guards/setup-extension-redirect.guard.ts:24
↓ 1 callers
Method
setupFamilySponsorship
* Auth team finding: * TODO PM-44167: This does not redirect the user. `setPreviousUrl` only sets an in-memory value that * nothing uses as a po
apps/web/src/app/billing/trial-initiation/complete-trial-initiation/complete-trial-initiation.component.ts:404
↓ 1 callers
Function
setupFive
(statuses: Record<UserId, AuthenticationStatus>)
libs/common/src/auth/account-switcher/default-account-switcher.service.spec.ts:431
↓ 1 callers
Method
setupFormFieldElementEventListeners
* Sets up the event listeners that facilitate interaction with the form field elements. * Will clear any cached form field element handlers that ar
apps/browser/src/autofill/services/autofill-overlay-content.service.ts:444
↓ 1 callers
Method
setupFormSubmissionEventListeners
* Sets up listeners on the submit button that triggers a submission of the field's form. * * @param formFieldElement - The form field element to
apps/browser/src/autofill/services/autofill-overlay-content.service.ts:496
↓ 1 callers
Method
setupFormSubscriptions
* Sets up form subscriptions for selected organizations.
libs/vault/src/components/assign-collections.component.ts:554
↓ 1 callers
Function
setupGlobalBrowserMock
(overrides: Partial<chrome.alarms.Alarm> = {})
apps/browser/src/platform/services/task-scheduler/browser-task-scheduler.service.spec.ts:24
↓ 1 callers
Method
setupHandlers
(modalRef: ModalRef)
libs/angular/src/services/modal.service.ts:80
↓ 1 callers
Method
setupHiddenFieldFallbackListener
* Sets up a fallback listener that will facilitate setting up the * inline menu on the field when it becomes visible and focused. * * @param
apps/browser/src/autofill/services/autofill-overlay-content.service.ts:1403
↓ 1 callers
Method
setupInitNotificationBarMessageListener
* Sets up the message listener for the initialization of the notification bar. * This will send the initialization data to the notification bar ifr
apps/browser/src/autofill/overlay/notifications/content/overlay-notifications-content.service.ts:282
↓ 1 callers
Method
setupInlineMenuListGlobalListeners
* Sets up the global listeners for the inline menu list iframe.
apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts:1908
↓ 1 callers
Function
setupKeys
({ makeUserKey }: SetupKeysParams)
libs/key-management/src/key.service.spec.ts:726
↓ 1 callers
Method
setupLitCipherListScrollListeners
()
apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts:747
↓ 1 callers
Method
setupMenuCloseListener
* Sets up a listener for clicks outside the menu overlay. * We skip(1) because the initial right-click event that opens the menu is also * consi
libs/components/src/menu/menu-trigger-for.directive.ts:254
↓ 1 callers
Function
setupMixed
()
libs/vault/src/components/shared-folders/shared-folders.component.spec.ts:993
↓ 1 callers
Function
setupMockPaymentMethodComponent
( component: OrganizationPlansComponent, token?: string, type?: string, )
apps/web/src/app/billing/organizations/organization-plans.component.spec.ts:150
↓ 1 callers
Function
setupMockUserState
()
libs/common/src/platform/sync/default-sync.service.spec.ts:725
↓ 1 callers
Function
setupMockedWebAuthnSupport
()
apps/browser/src/autofill/spec/fido2-testing-utils.ts:62
↓ 1 callers
Function
setupMocks
()
apps/desktop/src/app/services/set-initial-password/desktop-set-initial-password.service.spec.ts:165
↓ 1 callers
Function
setupMocks
()
apps/web/src/app/auth/core/services/password-management/set-initial-password/web-set-initial-password.service.spec.ts:182
↓ 1 callers
Function
setupMocks
(config: MockConfig = defaultMockConfig)
libs/angular/src/auth/password-management/set-initial-password/default-set-initial-password.service.spec.ts:227
↓ 1 callers
Function
setupMocksForEnforcementScenario
(options: { policies?: Policy[]; organizations?: Organization[]; ciphers?: CipherView[];
libs/vault/src/services/default-vault-items-transfer.service.spec.ts:650
↓ 1 callers
Function
setupMocksForMigrationScenario
(options: { policies?: Policy[]; organizations?: Organization[]; ciphers?: CipherView[];
libs/vault/src/services/default-vault-items-transfer.service.spec.ts:101
↓ 1 callers
Function
setupMocksForTransferScenario
(options: { policies?: Policy[]; organizations?: Organization[]; ciphers?: CipherView[];
libs/vault/src/services/default-vault-items-transfer.service.spec.ts:938
↓ 1 callers
Function
setupModal
* Renders the REAL AutoConfirmPolicy through the REAL modal component (not test doubles), the * same way it's opened by WebVaultPromptService for t
apps/web/src/app/admin-console/organizations/policies/policy-edit-dialogs/multi-step-policy-edit-modal.component.spec.ts:45
↓ 1 callers
Function
setupModule
(vfo1Enabled: boolean)
apps/browser/src/vault/popup/guards/clear-vault-state.guard.spec.ts:17
↓ 1 callers
Function
setupNavigation
( rules: AccessRuleView[], )
bitwarden_license/bit-web/src/app/pam/access-rules/access-rules.component.spec.ts:205
↓ 1 callers
Method
setupNumericFilter
(ctrl: AbstractControl)
libs/vault/src/cipher-form/components/bank-account-section/bank-account-section.component.ts:137
↓ 1 callers
Method
setupNumericFilter
* Strips non-digit characters after each keystroke.
libs/vault/src/cipher-form/components/date-field-group/date-field-group.component.ts:218
↓ 1 callers
Method
setupOnAlarmListener
* Sets up the on alarm listener to handle alarms.
apps/browser/src/platform/services/task-scheduler/browser-task-scheduler.service.ts:304
↓ 1 callers
Function
setupOrg
(useMyItems: boolean)
apps/web/src/app/admin-console/organizations/policies/policy-edit-definitions/organization-data-ownership.component.spec.ts:59
↓ 1 callers
Method
setupPasswordGeneration
()
libs/tools/export-vault-ui/src/components/export.component.ts:441
↓ 1 callers
Function
setupPasswordResetMocks
* Sets up mocks needed when resetMasterPassword is true. * * @param useServerSalt when true (default), the response includes a server-provid
apps/web/src/app/admin-console/organizations/members/services/organization-user-reset-password/organization-user-reset-password.service.spec.ts:167
↓ 1 callers
Function
setupPinnable
()
libs/vault/src/components/shared-folders/shared-folders.component.spec.ts:751
↓ 1 callers
Method
setupPolicyBasedFormState
()
libs/tools/export-vault-ui/src/components/export.component.ts:506
↓ 1 callers
Function
setupRealPolicy
(policy: BasePolicyEditDefinition)
apps/web/src/app/admin-console/organizations/policies/policy-edit-dialogs/multi-step-policy-edit-dialog.component.spec.ts:282
↓ 1 callers
Function
setupRealTemplate
(provideBanner: boolean)
libs/vault/src/cipher-view/cipher-view.component.spec.ts:223
← previous
next →
12,301–12,400 of 21,738, ranked by callers