MCPcopy Create free account

hub / github.com/aliasvault/aliasvault / functions

Functions2,136 in github.com/aliasvault/aliasvault

↓ 3 callersFunctionshowPopupForElement
* Show popup for element.
apps/browser-extension/src/entrypoints/content.ts:730
↓ 3 callersFunctionshowPopupWithAuthCheck
* Show popup with auth check. * @param inputElement - The input element to show the popup for. * @param container - The container el
apps/browser-extension/src/entrypoints/content.ts:781
↓ 3 callersMethodsign
* Sign data with the given private key, returning the signature in the encoding * the RP expects: DER-encoded for ES256, raw PKCS#1 v1.5 for RS256.
apps/browser-extension/src/utils/passkey/PasskeyAuthenticator.ts:371
↓ 3 callersMethodsrpDerivePrivateKey
(salt: string, identity: string, passwordHash: string)
apps/mobile-app/specs/NativeVaultManager.ts:153
↓ 3 callersMethodstoreEncryptionKeyInMemory
(base64EncryptionKey: string)
apps/mobile-app/specs/NativeVaultManager.ts:55
↓ 3 callersFunctiontestIdentityGenerator
( language: string, generator: IIdentityGenerator )
core/typescript/identity-generator/src/__tests__/IdentityGenerator.test.ts:11
↓ 3 callersMethodtrash
* Move an item to trash (set DeletedAt timestamp). * @param itemId - The ID of the item to trash * @returns Number of rows affected
apps/mobile-app/utils/db/repositories/ItemRepository.ts:291
↓ 3 callersMethodupdate
* Update an existing item with its fields and related entities. * @param item - The item to update * @param originalAttachmentIds - IDs of attac
apps/mobile-app/utils/db/repositories/ItemRepository.ts:409
↓ 3 callersFunctionupdateFormData
(updates: Partial<TotpFormData>)
apps/browser-extension/src/entrypoints/popup/components/Items/Details/TotpEditor.tsx:120
↓ 3 callersFunctionuseVaultSync
()
apps/browser-extension/src/entrypoints/popup/hooks/useVaultSync.ts:33
↓ 3 callersMethodvalidateClick
* Validate a click event (simplified for content scripts)
apps/browser-extension/src/utils/security/ClickValidator.ts:24
↓ 3 callersFunctionwaitForUnlockPage
(popup: Page, timeout: number = Timeouts.SHORT)
apps/browser-extension/tests/fixtures/waits.ts:151
↓ 2 callersFunctionCreateIdentityGenerator
(language: string)
core/typescript/identity-generator/src/factories/IdentityGeneratorFactory.ts:20
↓ 2 callersFunctionactivate
()
apps/browser-extension/src/entrypoints/popup/hooks/useListKeyboardNav.ts:128
↓ 2 callersFunctionadd2FADraft
* Add the 2FA section via the "+" add-field menu and half-fill the TOTP add * form (name + secret) without saving the code.
apps/browser-extension/tests/e2e/12-form-draft-persistence.spec.ts:54
↓ 2 callersFunctionaddNotesDraft
* Add the Notes section via the "+" add-field menu and type a draft into it.
apps/browser-extension/tests/e2e/12-form-draft-persistence.spec.ts:43
↓ 2 callersFunctionapplyPatches
()
apps/browser-extension/src/entrypoints/webauthn.ts:570
↓ 2 callersFunctionapplyTypeFilter
(items: Item[], filterType: ItemFilterType)
apps/browser-extension/src/utils/ItemFilters.ts:43
↓ 2 callersFunctionapplyView
()
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:1054
↓ 2 callersMethodarrayBufferToBase64
* Convert ArrayBuffer to base64 string (standard base64, not URL-safe)
apps/browser-extension/src/utils/passkey/PasskeyHelper.ts:107
↓ 2 callersFunctionassembleSaltWithPepper
* Combine random salt with extension ID pepper * * Creates a composite salt that includes both: * 1. Random salt (stored locally, prevents rainbow
apps/browser-extension/src/utils/PinUnlockService.ts:335
↓ 2 callersMethodattemptAutomaticUnlock
* Attempt to unlock the vault using available authentication methods. * Priority: Biometric -> PIN -> Manual unlock * If biometric fails/is canc
apps/mobile-app/utils/VaultUnlockHelper.ts:24
↓ 2 callersMethodattemptPinUnlock
* Attempt PIN unlock. * @returns Promise<UnlockResult> indicating success/failure
apps/mobile-app/utils/VaultUnlockHelper.ts:78
↓ 2 callersMethodauthenticateForAction
* Authenticate user for a specific action (e.g., mobile unlock confirmation). * Uses the native authenticateUser which automatically detects and us
apps/mobile-app/utils/VaultUnlockHelper.ts:117
↓ 2 callersFunctionbase64ToArrayBuffer
* Convert base64 string to ArrayBuffer
apps/browser-extension/src/utils/PinUnlockService.ts:404
↓ 2 callersMethodbase64UrlToBytes
* Convert base64url string to byte array * Handles both base64url (URL-safe) and regular base64 formats * Strips trailing '=' padding if present
apps/browser-extension/src/utils/passkey/PasskeyHelper.ts:70
↓ 2 callersMethodbase64urlToGuid
* Convert base64url to GUID for database lookup
apps/browser-extension/src/utils/passkey/PasskeyHelper.ts:100
↓ 2 callersMethodbuildCapturedLogin
* Build a CapturedLogin object from extracted values.
apps/browser-extension/src/utils/loginDetector/LoginDetector.ts:392
↓ 2 callersFunctionbuildFolderTree
(folders: Folder[])
apps/browser-extension/src/utils/FolderUtils.ts:24
↓ 2 callersFunctionbuildPasskeyAssertion
( sqliteClient: SqliteClient, request: PasskeyAssertionRequest, passkeyId: string )
apps/browser-extension/src/utils/passkey/PasskeyAssertionService.ts:86
↓ 2 callersMethodbytesToBase64Url
* Convert byte array to base64url string
apps/browser-extension/src/utils/passkey/PasskeyHelper.ts:58
↓ 2 callersMethodcborInt
* Encode an integer as CBOR (major type 0 for non-negative, 1 for negative). * Used for COSE algorithm identifiers, e.g. -7 (ES256) and -257 (RS256
apps/browser-extension/src/utils/passkey/PasskeyAuthenticator.ts:489
↓ 2 callersMethodchallengeToB64u
* Normalize challenge to base64url string. * @param challenge - Challenge from WebAuthn request * @returns Base64url encoded challenge
apps/browser-extension/src/utils/passkey/PasskeyAuthenticator.ts:607
↓ 2 callersFunctionchangeLanguage
(lng: string)
apps/browser-extension/src/entrypoints/popup/components/LanguageSwitcher.tsx:50
↓ 2 callersFunctioncheckBatteryOptimization
()
apps/mobile-app/app/(tabs)/settings/clipboard-clear.tsx:55
↓ 2 callersMethodcleanup
* Cleans up resources
apps/browser-extension/src/entrypoints/popup/utils/MobileLoginUtility.ts:213
↓ 2 callersFunctioncleanupTotpInterval
* Cleanup TOTP update interval
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:80
↓ 2 callersFunctionclearConditionalPasskeyRequest
()
apps/browser-extension/src/entrypoints/contentScript/ConditionalPasskey.ts:112
↓ 2 callersMethodclearEncryptedVaultForFreshDownload
()
apps/mobile-app/specs/NativeVaultManager.ts:37
↓ 2 callersFunctioncreateAddUrlPromptHTML
* Create the HTML for the "Add URL" prompt.
apps/browser-extension/src/entrypoints/contentScript/SavePrompt.ts:892
↓ 2 callersFunctioncreateLoadingPopup
(input: HTMLInputElement, message: string, rootContainer: HTMLElement)
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:723
↓ 2 callersFunctioncreatePieSlicePath
* Create SVG path for a pie slice starting from top, going counter-clockwise. * @param cx - Center X * @param cy - Center Y * @param r - Radius *
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:497
↓ 2 callersFunctioncreatePromptFromTemplate
* Create the HTML for a prompt using the generic template. * @param config - The prompt configuration with title, content, and buttons. * @returns T
apps/browser-extension/src/entrypoints/contentScript/SavePrompt.ts:558
↓ 2 callersFunctioncreatePromptHTML
* Create the HTML for the save prompt.
apps/browser-extension/src/entrypoints/contentScript/SavePrompt.ts:593
↓ 2 callersFunctioncreateRecentlySelectedIcon
* Build a small history-arrow SVG badge indicating this item was the most recently * autofilled on this site, so the user can quickly spot it among m
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:769
↓ 2 callersFunctioncreateUpgradeRequiredPopup
(input: HTMLInputElement, rootContainer: HTMLElement, errorMessage: string)
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:1597
↓ 2 callersFunctioncreateViewSwitchPill
* Build a single segment button for the passkey/credentials pill nav shown at the top of the * autofill popup when conditional passkeys are offered (
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:1399
↓ 2 callersFunctiondateToEpoch
* Convert a date string to epoch milliseconds. * @param dateString - Date string in ISO format * @returns Epoch milliseconds
apps/browser-extension/src/utils/db/mappers/PasskeyMapper.ts:42
↓ 2 callersMethoddeleteById
* Delete a passkey by its ID (soft delete). * @param passkeyId - The ID of the passkey to delete * @returns The number of rows updated
apps/browser-extension/src/utils/db/repositories/PasskeyRepository.ts:101
↓ 2 callersMethodderInt
* Encode a positive big integer as DER INTEGER.
apps/browser-extension/src/utils/passkey/PasskeyAuthenticator.ts:537
↓ 2 callersFunctionderivePinKey
* Derive encryption key from PIN using Argon2id * * Uses Argon2id with high memory cost (64 MB) to make brute-force attacks * significantly more ex
apps/browser-extension/src/utils/PinUnlockService.ts:362
↓ 2 callersMethodderiveVerifier
* Derives an SRP verifier from a private key using Rust WASM. * * @param privateKey - The SRP private key * @returns The SRP verifier (upperc
apps/browser-extension/src/utils/auth/SrpAuthService.ts:192
↓ 2 callersFunctiondetectMimeType
* Detect MIME type from file signature (magic numbers)
apps/mobile-app/components/items/ItemIcon.tsx:344
↓ 2 callersMethodemitLoginDebounced
* Emit login with debouncing to prevent duplicates.
apps/browser-extension/src/utils/loginDetector/LoginDetector.ts:425
↓ 2 callersMethodenableAuthMethod
* Enable an authentication method by adding it to the current auth methods. * This handles getting current methods, adding the new one, and saving.
apps/mobile-app/utils/AppUnlockUtility.ts:57
↓ 2 callersMethodenableE2ETestMode
* Enable E2E test mode which sets the shadow DOM to 'open' mode for testability. * This must be called before navigating to pages where you want to
apps/browser-extension/tests/fixtures/TestClient.ts:388
↓ 2 callersFunctionescapeKotlinString
* Escape string for Kotlin multiline string literal (trimIndent)
core/vault/scripts/generate-vault-sql.cjs:104
↓ 2 callersFunctionescapeSwiftString
* Escape string for Swift multiline string literal
core/vault/scripts/generate-vault-sql.cjs:94
↓ 2 callersMethodexecuteRaw
(query: string)
apps/mobile-app/specs/NativeVaultManager.ts:42
↓ 2 callersMethodexecuteUpdate
* Execute an INSERT, UPDATE, or DELETE query
apps/mobile-app/utils/SqliteClient.ts:266
↓ 2 callersMethodexportDatabase
* Export a SQLite database to base64 string. * @param db - The database to export * @returns The base64 encoded database
apps/browser-extension/src/utils/VaultMergeService.ts:338
↓ 2 callersMethodextractCredentialsFromForm
* Extract credentials from a form using FormDetector.
apps/browser-extension/src/utils/loginDetector/LoginDetector.ts:302
↓ 2 callersFunctionextractRootDomainFromUrl
* Extract the root domain from a URL for recently-selected item scoping. * Uses root domain (e.g. `example.com` for both `accounts.example.com` and `
apps/browser-extension/src/entrypoints/background/VaultMessageHandler.ts:400
↓ 2 callersFunctionextractServiceNameFromUrl
(url: string)
apps/mobile-app/utils/UrlUtility.ts:10
↓ 2 callersMethodextractSourceFromUrl
* Extract and normalize source domain from a URL string. * This matches the server-side migration logic for consistent deduplication. * Uses low
apps/browser-extension/src/utils/FaviconService.ts:38
↓ 2 callersMethodextractSourceFromUrl
* Extract and normalize source domain from a URL string. * Uses lowercase and removes www. prefix for case-insensitive matching. * @param urlStr
apps/mobile-app/utils/db/repositories/LogoRepository.ts:151
↓ 2 callersFunctionfillItem
(item: Item, input: HTMLInputElement)
apps/browser-extension/src/entrypoints/contentScript/Form.ts:99
↓ 2 callersMethodfillNotes
* Fill the notes field. * If the notes section is not visible, opens the add field menu and adds it first.
apps/browser-extension/tests/fixtures/TestClient.ts:307
↓ 2 callersMethodfillPasswordField
* Fill the password field with the given password using character-by-character typing. * * @param field The password field to fill. * @param
apps/browser-extension/src/utils/formDetector/FormFiller.ts:403
↓ 2 callersFunctionfilterItems
( items: Item[], currentUrl: string, pageTitle: string, matchingMode: AutofillMatchingMode = AutofillM
apps/browser-extension/src/utils/RustCore.ts:115
↓ 2 callersFunctionfilterItemsBySearchTerm
* Filter items by search term. * Splits search into words and matches items where ALL words appear in searchable fields. * Word order doesn't matter
apps/browser-extension/src/entrypoints/background/VaultMessageHandler.ts:418
↓ 2 callersFunctionfilterItemsByUrl
* Filter items by URL matching. * * @param items - The items to filter * @param currentUrl - The current URL of the page * @param pageTitle - The
apps/browser-extension/src/entrypoints/background/VaultMessageHandler.ts:341
↓ 2 callersMethodfindActualInputElement
* Find the actual input element, which could be in shadow DOM or a child element. * This ensures we only fill one element, avoiding duplicate fills
apps/browser-extension/src/utils/formDetector/FormFiller.ts:417
↓ 2 callersMethodfindEmailField
* Find the email field in the form.
apps/browser-extension/src/utils/formDetector/FormDetector.ts:952
↓ 2 callersFunctionformatDate
(date: string)
apps/mobile-app/app/(tabs)/settings/security/active-sessions.tsx:156
↓ 2 callersFunctiongenerateRandomIdentity
* Generate a random identity.
core/typescript/identity-generator/src/implementations/base/IdentityGenerator.ts:132
↓ 2 callersMethodgenerateSalt
* Generates a cryptographically secure SRP salt using Rust WASM. * * @returns A random salt string (uppercase hex)
apps/browser-extension/src/utils/auth/SrpAuthService.ts:141
↓ 2 callersFunctiongenerateTestPassword
()
apps/browser-extension/tests/helpers/test-api.ts:117
↓ 2 callersFunctiongenerateTestUsername
()
apps/browser-extension/tests/helpers/test-api.ts:103
↓ 2 callersFunctiongenerateTotpCode
(secretKey: string)
apps/browser-extension/src/entrypoints/popup/components/Items/Details/TotpBlock.tsx:63
↓ 2 callersFunctiongenerateTotpCode
* Generate TOTP code from secret key
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:90
↓ 2 callersFunctiongenerateTotpCode
(secretKey: string)
apps/mobile-app/utils/TotpUtility.ts:14
↓ 2 callersMethodgenerateUsername
* Generate a username based on an identity.
core/typescript/identity-generator/src/utils/UsernameEmailGenerator.ts:14
↓ 2 callersMethodgetAccessToken
()
apps/mobile-app/specs/NativeVaultManager.ts:11
↓ 2 callersMethodgetAllEmailAddresses
* Fetch all unique email addresses from field values. * @returns Array of email addresses
apps/mobile-app/utils/db/repositories/ItemRepository.ts:165
↓ 2 callersMethodgetApiUrl
* Get the API URL from settings.
apps/browser-extension/src/utils/WebApiService.ts:392
↓ 2 callersMethodgetApiUrl
* Get the currently configured API URL from native storage.
apps/mobile-app/utils/WebApiService.ts:352
↓ 2 callersMethodgetAttachmentsForItem
* Get attachments for an item. * @param itemId - The ID of the item * @returns Array of attachments for the item
apps/browser-extension/src/utils/db/repositories/SettingsRepository.ts:131
↓ 2 callersMethodgetAttachmentsForItem
* Get attachments for an item. * @param itemId - The ID of the item * @returns Array of attachments for the item
apps/mobile-app/utils/db/repositories/SettingsRepository.ts:179
↓ 2 callersFunctiongetAutoLockTimeout
* Get the auto-lock timeout in seconds. * @returns Timeout in seconds. Defaults to 0 (never).
apps/browser-extension/src/utils/LocalPreferencesService.ts:245
↓ 2 callersMethodgetAutofillCopyTotpOnFill
()
apps/mobile-app/specs/NativeVaultManager.ts:70
↓ 2 callersFunctiongetBaseDomain
* Extract the base domain from a hostname (e.g., "login.example.com" -> "example.com").
apps/browser-extension/src/entrypoints/contentScript/SavePrompt.ts:810
↓ 2 callersMethodgetByEmail
* Fetch an item by its email address (case-insensitive). * @param email - The email address to search for * @returns Item object or null if not
apps/mobile-app/utils/db/repositories/ItemRepository.ts:178
↓ 2 callersMethodgetById
* Fetch a single item by ID with its fields and tags. * @param itemId - The ID of the item to fetch * @returns Item object or null if not found
apps/mobile-app/utils/db/repositories/ItemRepository.ts:126
↓ 2 callersMethodgetByItemId
* Get all passkeys for a specific item. * @param itemId - The item ID * @returns Array of passkey objects
apps/browser-extension/src/utils/db/repositories/PasskeyRepository.ts:47
↓ 2 callersMethodgetCredentialsSortOrder
* Get the credentials sort order preference. * Uses the same key the other clients use for cross-platform sync. * @returns The sort order prefer
apps/mobile-app/utils/db/repositories/SettingsRepository.ts:238
↓ 2 callersMethodgetDefaultIdentityAgeRange
* Get the default identity age range from the database. * @returns The age range preference or 'random' if not set
apps/browser-extension/src/utils/db/repositories/SettingsRepository.ts:53
↓ 2 callersMethodgetDefaultIdentityAgeRange
* Get the default identity age range from the database.
apps/mobile-app/utils/SqliteClient.ts:365
↓ 2 callersMethodgetDefaultIdentityGender
* Get the default identity gender preference from the database.
apps/mobile-app/utils/SqliteClient.ts:358
↓ 2 callersFunctiongetDisabledSitesCount
()
apps/browser-extension/src/entrypoints/popup/pages/settings/AutofillSettings.tsx:221
← previousnext →401–500 of 2,136, ranked by callers