Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/aliasvault/aliasvault
/ functions
Functions
2,136 in github.com/aliasvault/aliasvault
⨍
Functions
2,136
◇
Types & classes
262
↓ 5 callers
Function
getItems
* Get all draggable items in the container (excluding placeholder). * @returns {HTMLElement[]} Array of draggable items
apps/server/AliasVault.Client/wwwroot/js/modules/dragAndDrop.js:47
↓ 5 callers
Method
getPasswordSettings
* Get the password settings from the database.
apps/mobile-app/utils/SqliteClient.ts:408
↓ 5 callers
Method
getSetting
* Get setting from database for a given key. * Returns default value (empty string by default) if setting is not found.
apps/mobile-app/utils/SqliteClient.ts:310
↓ 5 callers
Function
handlePickFilter
(filter: ItemFilterType)
apps/mobile-app/components/items/ItemFilterMenu.tsx:163
↓ 5 callers
Function
handleSelectFilter
(filter: ItemFilterType)
apps/browser-extension/src/entrypoints/popup/components/Items/ItemFilterDropdown.tsx:62
↓ 5 callers
Function
includeTerms
(entry: FieldPatternEntry)
apps/browser-extension/src/utils/formDetector/FieldPatterns.ts:32
↓ 5 callers
Method
initWasm
* Initialize the Rust WASM module. * Called automatically by methods that require WASM. * Safe to call multiple times - only initializes once.
apps/browser-extension/src/utils/auth/SrpAuthService.ts:95
↓ 5 callers
Function
isItemTypeFilter
(filter: ItemFilterType)
apps/browser-extension/src/utils/ItemFilters.ts:17
↓ 5 callers
Method
isPinEnabled
()
apps/mobile-app/specs/NativeVaultManager.ts:103
↓ 5 callers
Method
loadDatabase
* Load a SQLite database from base64 string. * @param SQL - The SQL.js instance * @param base64String - The base64 encoded database * @return
apps/browser-extension/src/utils/VaultMergeService.ts:324
↓ 5 callers
Method
mapRow
(row: any)
apps/mobile-app/utils/db/repositories/PasskeyRepository.ts:235
↓ 5 callers
Method
normalizeUsername
* Normalize a username by converting it to lowercase and trimming whitespace. * @param username The username to normalize. * @returns The normal
apps/browser-extension/src/entrypoints/popup/utils/ConversionUtility.ts:136
↓ 5 callers
Method
normalizeUsername
* Normalize a username by converting it to lowercase and trimming whitespace. * @param username The username to normalize. * @returns The normal
apps/mobile-app/utils/ConversionUtility.ts:73
↓ 5 callers
Method
observe
* Starts observing the target node for mutations. * @param target - The target node to observe. * @param _options - Configuration options for th
apps/browser-extension/src/utils/loginDetector/__tests__/TestUtils.ts:24
↓ 5 callers
Method
prepareCredentials
* Prepares login credentials by deriving the password hash. * * This method derives the encryption key from the password using the * encrypti
apps/browser-extension/src/utils/auth/SrpAuthService.ts:246
↓ 5 callers
Function
refreshConditionalPasskeyOptions
()
apps/browser-extension/src/entrypoints/contentScript/ConditionalPasskey.ts:71
↓ 5 callers
Method
setAuthMethods
(authMethods: string[])
apps/mobile-app/specs/NativeVaultManager.ts:54
↓ 5 callers
Function
setAutoLockTimer
* Set the auto-lock timer using the appropriate method based on timeout duration. * Uses setTimeout for short timeouts (< 30s) and alarms for longer
apps/browser-extension/src/entrypoints/background/AutolockTimeoutHandler.ts:55
↓ 5 callers
Function
setupTestPageRoute
* Helper to setup route interception to serve our test login page for a given domain.
apps/browser-extension/tests/e2e/09-save-login-prompt.spec.ts:33
↓ 5 callers
Function
sliderToLength
(sliderValue: number)
apps/mobile-app/utils/PasswordLengthSlider.ts:33
↓ 5 callers
Function
unregisterClickOutsideHandler
()
apps/server/AliasVault.Client/wwwroot/js/modules/clickOutsideHandler.js:60
↓ 5 callers
Method
updateSetting
* Update or insert a setting. * @param key - The setting key * @param value - The setting value
apps/browser-extension/src/utils/db/repositories/SettingsRepository.ts:188
↓ 5 callers
Function
useAuth
()
apps/browser-extension/src/entrypoints/popup/context/AuthContext.tsx:145
↓ 5 callers
Function
useMinDurationLoading
( initialState: boolean = false, minDuration: number = 300 )
apps/browser-extension/src/hooks/useMinDurationLoading.ts:11
↓ 5 callers
Function
validateWebAuthnRequest
( type: WebAuthnRequestType, request: WebAuthnBridgeRequest | undefined, expectedOrigin: string, curre
apps/browser-extension/src/utils/passkey/WebAuthnRequestValidation.ts:70
↓ 5 callers
Function
waitForLoginForm
(popup: Page, timeout: number = Timeouts.SHORT)
apps/browser-extension/tests/fixtures/waits.ts:194
↓ 5 callers
Function
waitForSavePrompt
* Helper to wait for save prompt to appear.
apps/browser-extension/tests/e2e/09-save-login-prompt.spec.ts:72
↓ 5 callers
Method
waitForVaultReady
* Wait for vault to be ready.
apps/browser-extension/tests/fixtures/TestClient.ts:481
↓ 4 callers
Function
applyTypeFilter
(items: Item[], filterType: ItemFilterType)
apps/mobile-app/utils/ItemFilters.ts:43
↓ 4 callers
Method
buildFolderPaths
* Build folder paths for all folders. * Returns a map of FolderId -> path array. * @returns Map of folder ID to folder path array
apps/mobile-app/utils/db/repositories/ItemRepository.ts:30
↓ 4 callers
Method
bytesToBase64url
* Convert byte array to base64url string (public wrapper)
apps/browser-extension/src/utils/passkey/PasskeyHelper.ts:119
↓ 4 callers
Method
clearRsaPrivateKeyCache
* Clears cached RSA private keys when the in-memory vault is locked or reset.
apps/browser-extension/src/utils/EncryptionUtility.ts:263
↓ 4 callers
Function
completeConditionalWithPasskey
(passkeyId: string)
apps/browser-extension/src/entrypoints/contentScript/ConditionalPasskey.ts:142
↓ 4 callers
Method
configureApiUrl
* Configure the API URL for the extension. * Verifies the URL is displayed on the login page after configuration.
apps/browser-extension/tests/fixtures/TestClient.ts:98
↓ 4 callers
Function
copyToClipboard
(text: string)
apps/mobile-app/components/items/ItemCard.tsx:73
↓ 4 callers
Function
createContextMenu
* Create a context menu item.
apps/browser-extension/src/entrypoints/background/ContextMenu.ts:40
↓ 4 callers
Function
createPulseAnimation
(anim: Animated.Value)
apps/mobile-app/components/LoadingIndicator.tsx:27
↓ 4 callers
Function
csString
Escape a string for embedding inside a C# double-quoted literal.
core/models/scripts/generate-languages.cjs:22
↓ 4 callers
Method
decryptWithPrivateKeyObject
* Decrypts data using RSA-OAEP asymmetric encryption with a CryptoKey private key.
apps/mobile-app/utils/EncryptionUtility.ts:207
↓ 4 callers
Method
deriveClientProof
* Derive an SRP client proof to authenticate against the server with the current password. * * Wraps the native Rust SRP primitives (generate ep
apps/mobile-app/utils/SrpUtility.ts:41
↓ 4 callers
Function
disableAutoShowPopup
(temporary: boolean = false)
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:1508
↓ 4 callers
Method
disconnect
* Stops observing mutations.
apps/browser-extension/src/utils/loginDetector/__tests__/TestUtils.ts:33
↓ 4 callers
Method
encryptWithPublicKey
* Encrypts data using RSA-OAEP asymmetric encryption with a public key
apps/browser-extension/src/utils/EncryptionUtility.ts:206
↓ 4 callers
Function
ensureDir
* Ensure directory exists
core/vault/scripts/generate-vault-sql.cjs:391
↓ 4 callers
Method
evaluatePrf
* Evaluate PRF (hmac-secret extension). * Implements: HMAC-SHA256(prfSecret, SHA-256("WebAuthn PRF\x00" || salt)).
apps/browser-extension/src/utils/passkey/PasskeyAuthenticator.ts:301
↓ 4 callers
Function
extractDomain
(url: string)
apps/browser-extension/src/utils/RustCore.ts:49
↓ 4 callers
Function
extractErrorCode
(message: string)
apps/browser-extension/src/utils/types/errors/AppErrorCodes.ts:91
↓ 4 callers
Method
fromContext
* Create a TestClient from an existing browser context (for shared fixture tests).
apps/browser-extension/tests/fixtures/TestClient.ts:84
↓ 4 callers
Method
generateEmailPrefix
* Generate an email prefix based on an identity.
core/typescript/identity-generator/src/utils/UsernameEmailGenerator.ts:32
↓ 4 callers
Function
generatePassword
(settings: PasswordSettings, seed?: string)
apps/browser-extension/src/utils/RustCore.ts:72
↓ 4 callers
Method
getAccessToken
* Get the current access token from storage.
apps/browser-extension/src/utils/WebApiService.ts:368
↓ 4 callers
Method
getActualInputElement
* Get the actual input element from a potentially custom element. * This handles any element with shadow DOM containing input elements. * @param
apps/browser-extension/src/utils/formDetector/FormDetector.ts:417
↓ 4 callers
Method
getApiUrl
()
apps/mobile-app/specs/NativeVaultManager.ts:9
↓ 4 callers
Function
getAutofillPopupCredentials
* Helper to get credential names from the autofill popup shadow DOM. * Requires E2E test mode to be enabled (open shadow DOM).
apps/browser-extension/tests/e2e/08-credential-matcher.spec.ts:34
↓ 4 callers
Function
getAvailableAgeRanges
()
core/typescript/identity-generator/src/utils/AgeRangeConverter.ts:22
↓ 4 callers
Method
getBiometricDisplayName
* Get the appropriate biometric display name translation key based on device capabilities. * Returns localization keys like 'settings.vaultUnlockSe
apps/mobile-app/utils/AppUnlockUtility.ts:155
↓ 4 callers
Method
getDefaultEmailDomain
* Get the default email domain for new aliases. * @returns The default email domain or empty string if not set
apps/browser-extension/src/utils/db/repositories/SettingsRepository.ts:151
↓ 4 callers
Function
getLatestClientVersion
()
core/vault/src/utils/VersionCompatibility.ts:152
↓ 4 callers
Method
getPasswordSettings
* Get the password settings from the database. * @returns Password settings object
apps/browser-extension/src/utils/db/repositories/SettingsRepository.ts:61
↓ 4 callers
Method
getStatus
* Calls the status endpoint to check if the auth tokens are still valid, app is supported and the vault is up to date. * Returns offline indicator
apps/browser-extension/src/utils/WebApiService.ts:276
↓ 4 callers
Method
getSyncState
()
apps/mobile-app/specs/NativeVaultManager.ts:35
↓ 4 callers
Method
getTotpCodesForItem
* Get TOTP codes for an item. * @param itemId - The ID of the item to get TOTP codes for * @returns Array of TotpCode objects
apps/browser-extension/src/utils/db/repositories/SettingsRepository.ts:113
↓ 4 callers
Method
getTotpCodesForItem
* Get TOTP codes for an item. * @param itemId - The ID of the item to get TOTP codes for * @returns Array of TotpCode objects
apps/mobile-app/utils/db/repositories/SettingsRepository.ts:161
↓ 4 callers
Method
getUsername
()
apps/mobile-app/specs/NativeVaultManager.ts:92
↓ 4 callers
Function
handleGetSyncState
()
apps/browser-extension/src/entrypoints/background/VaultMessageHandler.ts:996
↓ 4 callers
Function
handleMarkVaultClean
(request: { mutationSeqAtStart: number; newServerRevision: number; })
apps/browser-extension/src/entrypoints/background/VaultMessageHandler.ts:973
↓ 4 callers
Function
handleStoreEncryptedVault
(request: { vaultBlob: string; markDirty?: boolean; serverRevision?: number; expectedMutationSeq?: num
apps/browser-extension/src/entrypoints/background/VaultMessageHandler.ts:914
↓ 4 callers
Function
handleUploadVault
( )
apps/browser-extension/src/entrypoints/background/VaultMessageHandler.ts:654
↓ 4 callers
Method
hasEncryptedDatabase
()
apps/mobile-app/specs/NativeVaultManager.ts:60
↓ 4 callers
Method
initializeFromBase64
* Initialize the SQLite database from a base64 string. * @param base64String - Base64 encoded SQLite database
apps/browser-extension/src/utils/SqliteClient.ts:97
↓ 4 callers
Function
isAutofillPopupVisible
* Helper to check if the autofill popup is visible.
apps/browser-extension/tests/e2e/08-credential-matcher.spec.ts:49
↓ 4 callers
Function
isClickInsidePopupUi
* Check if an outside-click event originated from AliasVault UI controls.
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:116
↓ 4 callers
Function
isItemTypeFilter
(filter: ItemFilterType)
apps/mobile-app/utils/ItemFilters.ts:17
↓ 4 callers
Method
isSelfHosted
* Check if the API URL is for a self-hosted instance.
apps/mobile-app/utils/WebApiService.ts:40
↓ 4 callers
Function
loadEmails
()
apps/mobile-app/components/items/details/EmailPreview.tsx:114
↓ 4 callers
Method
normalizeUsername
* Normalizes a username by converting to lowercase and trimming whitespace. * * @param username - The username to normalize * @returns The no
apps/browser-extension/src/utils/auth/SrpAuthService.ts:132
↓ 4 callers
Function
parseAttributes
* Parse HTML/SVG attributes into an object.
core/models/scripts/generate-field-keys.cjs:1247
↓ 4 callers
Function
removePlaceholder
* Remove the placeholder from the DOM.
apps/server/AliasVault.Client/wwwroot/js/modules/dragAndDrop.js:63
↓ 4 callers
Function
renderFieldInput
()
apps/browser-extension/src/entrypoints/popup/components/Forms/DraggableCustomFieldsList.tsx:76
↓ 4 callers
Function
renderFieldInput
()
apps/mobile-app/components/form/DraggableCustomFieldsList.tsx:55
↓ 4 callers
Function
renderWarningItem
(text: string)
apps/mobile-app/app/(tabs)/settings/security/delete-account.tsx:206
↓ 4 callers
Function
reopenPopupToForm
* Simulate the popup closing and reopening. Reloading the document tears the * popup down without running React unmount cleanup, exactly like a real
apps/browser-extension/tests/e2e/12-form-draft-persistence.spec.ts:32
↓ 4 callers
Method
setApiUrl
(url: string)
apps/mobile-app/specs/NativeVaultManager.ts:8
↓ 4 callers
Function
setupPauseListeners
* Set up listeners to pause/resume countdown on hover and focus.
apps/browser-extension/src/entrypoints/contentScript/SavePrompt.ts:224
↓ 4 callers
Function
setupTestPageRoute
* Helper to setup route interception to serve our test login page for a given domain.
apps/browser-extension/tests/e2e/08-credential-matcher.spec.ts:64
↓ 4 callers
Function
startCountdownAnimation
* Start the countdown bar animation.
apps/browser-extension/src/entrypoints/contentScript/SavePrompt.ts:124
↓ 4 callers
Function
toReactNativeAttr
* Convert SVG attribute names to React Native SVG attribute names.
core/models/scripts/generate-field-keys.cjs:1260
↓ 4 callers
Method
update
* Update an existing item with field-based structure. * @param item The item object to update * @param originalAttachmentIds Original attachment
apps/browser-extension/src/utils/db/repositories/ItemRepository.ts:230
↓ 4 callers
Function
updatePopupContent
(items: Item[], itemList: HTMLElement | null, input: HTMLInputElement, rootContainer: HTMLElement, noMatchesTe
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:748
↓ 4 callers
Method
updateSetting
* Update a setting in the database. * @param key The setting key * @param value The setting value
apps/mobile-app/utils/SqliteClient.ts:374
↓ 4 callers
Function
updateTotpPopupContent
* Update the TOTP item list content in the popup with live code preview. * * @param items - The items to display. * @param itemList - The item list
apps/browser-extension/src/entrypoints/contentScript/Popup.ts:436
↓ 4 callers
Function
useLogout
()
apps/mobile-app/hooks/useLogout.ts:45
↓ 4 callers
Function
validateInputField
(element: Element | null)
apps/browser-extension/src/entrypoints/contentScript/Form.ts:53
↓ 4 callers
Method
validateStatusResponse
* Validates the status response and returns an error message (as translation key) if validation fails.
apps/browser-extension/src/utils/WebApiService.ts:300
↓ 4 callers
Method
validateVaultStructure
* Validate vault structure from table names
core/vault/src/sql/VaultSqlGenerator.ts:216
↓ 4 callers
Method
verifyVaultItemCount
* Verify the vault shows a specific item count.
apps/browser-extension/tests/fixtures/TestClient.ts:378
↓ 4 callers
Function
waitForPersist
* Give the auto-persistence (async message to the background script) time to * flush before we tear the popup down.
apps/browser-extension/tests/e2e/12-form-draft-persistence.spec.ts:67
↓ 4 callers
Function
withTrustedWebAuthnSender
* Resolve a trusted sender context and run a per-message validation check before invoking the * handler. Returns `onInvalid` when the sender is not a
apps/browser-extension/src/entrypoints/background.ts:72
↓ 4 callers
Function
wrapWithRemoveButton
(inputElement: React.ReactNode, hasLabel: boolean = true)
apps/browser-extension/src/entrypoints/popup/pages/items/ItemAddEdit.tsx:1191
↓ 3 callers
Function
arrayBufferToBase64
* Convert ArrayBuffer to base64 string
apps/browser-extension/src/utils/PinUnlockService.ts:392
← previous
next →
201–300 of 2,136, ranked by callers