MCPcopy Create free account

hub / github.com/dfinity/internet-identity / functions

Functions3,576 in github.com/dfinity/internet-identity

↓ 458 callersFunctionenv
The path to the state machine binary to run the tests with
src/canister_tests/src/framework.rs:137
↓ 435 callersMethodmap
( opts: ((a: A) => B) | { f: (a: A) => B | typeof Chan.unchanged; def: B }, )
src/frontend/src/lib/utils/utils.ts:151
↓ 307 callersFunctionprincipal_1
()
src/canister_tests/src/framework.rs:369
↓ 294 callersMethodlen
(&self)
src/internet_identity/src/dnssec/types.rs:196
↓ 204 callersMethoditer
Iterate the validated zones in insertion order, which matches the order the delegation chains were verified in.
src/internet_identity/src/dnssec/types.rs:206
↓ 175 callersMethodprincipal
(&self, anchor_number: AnchorNumber)
src/internet_identity/src/openid.rs:109
↓ 170 callersFunctioninstall_ii_with_archive
( env: &PocketIc, ii_wasm_opt: Option<Vec<u8>>, archive_wasm_opt: Option<Vec<u8>>, )
src/canister_tests/src/framework.rs:274
↓ 167 callersMethodset
(value: boolean)
src/frontend/src/lib/utils/featureFlags/index.ts:40
↓ 143 callersMethodgoto
()
src/frontend/tests/e2e-playwright/fixtures/recoveryPage.ts:143
↓ 134 callersFunctionregister_anchor
(env: &PocketIc, canister_id: CanisterId)
src/canister_tests/src/flows.rs:8
↓ 129 callersMethodget
(&self, zone: &DnsName)
src/internet_identity/src/dnssec/types.rs:192
↓ 123 callersFunctionassert_metric
(metrics: &str, metric_name: &str, expected: f64)
src/canister_tests/src/framework.rs:582
↓ 123 callersMethodfill
(value: string)
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:21
↓ 113 callersMethodinsert
Insert `(zone, dnskey_rrset)`. Returns [`DnssecError::DuplicateZone`] if a chain to the same zone is already present — defence against bundles that tr
src/internet_identity/src/dnssec/types.rs:184
↓ 112 callersFunctionget_metrics
(env: &PocketIc, canister_id: CanisterId)
src/canister_tests/src/framework.rs:553
↓ 108 callersFunctioncreate_identity_with_authn_method
( env: &PocketIc, canister_id: CanisterId, authn_method: &AuthnMethodData, )
src/internet_identity/tests/integration/v2_api/authn_method_test_helpers.rs:43
↓ 100 callersFunctionget
(identityNumber: bigint, origin: string)
src/frontend/src/lib/stores/last-shared-emails.store.ts:22
↓ 99 callersFunctiontime
()
src/internet_identity/src/state.rs:191
↓ 95 callersFunctioninstall_ii_canister_with_arg
( env: &PocketIc, wasm: Vec<u8>, arg: Option<InternetIdentityInit>, )
src/canister_tests/src/framework.rs:173
↓ 78 callersMethodlocator
()
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:111
↓ 73 callersFunctionget_anchor_info
(anchor_number: AnchorNumber)
src/internet_identity/src/anchor_management.rs:23
↓ 70 callersMethodadd_device
(&mut self, device: Device)
src/internet_identity/src/storage/anchor.rs:649
↓ 70 callersMethodfrom
(src: IdentityUpdateError)
src/internet_identity/src/main.rs:554
↓ 64 callersMethodallocate_anchor
Allocates a fresh Identity Anchor. Returns None if the range of Identity Anchor assigned to this storage is exhausted.
src/internet_identity/src/storage.rs:677
↓ 64 callersFunctionsample_webauthn_authn_method
(i: u8)
src/internet_identity/tests/integration/v2_api/authn_method_test_helpers.rs:132
↓ 64 callersFunctionupgrade_ii_canister_with_arg
( env: &PocketIc, canister_id: CanisterId, wasm: Vec<u8>, arg: Option<InternetIdentityInit>, )
src/canister_tests/src/framework.rs:312
↓ 59 callersMethodget
* Returns Perlin noise value at coordinates (x, y, z). * @param x X coordinate * @param y Y coordinate (default 0) * @param z Z coordinate (d
src/frontend/src/lib/utils/UI/backgrounds/perlinNoise3d.ts:63
↓ 59 callersMethodremove
(fn: (dialog: RemovePasskeyDialog) => Promise<T>)
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:131
↓ 59 callersFunctionstorage_borrow_mut
(f: impl FnOnce(&mut Storage<DefaultMemoryImpl>) -> R)
src/internet_identity/src/state.rs:416
↓ 55 callersFunctiondevice_data_2
()
src/canister_tests/src/framework.rs:394
↓ 54 callersFunctioninstall_ii_canister
(env: &PocketIc, wasm: Vec<u8>)
src/canister_tests/src/framework.rs:169
↓ 52 callersFunctionidentity_info
(identity_number: IdentityNumber)
src/internet_identity/src/main.rs:1130
↓ 50 callersMethodclose
()
src/frontend/src/lib/utils/transport/utils.ts:25
↓ 48 callersFunctionaddVirtualAuthenticator
(page: Page)
src/frontend/tests/e2e-playwright/utils.ts:345
↓ 48 callersFunctiondevice_data_1
()
src/canister_tests/src/framework.rs:384
↓ 46 callersMethodwrite
Writes the data of the specified anchor to stable memory.
src/internet_identity/src/storage.rs:730
↓ 45 callersFunctionauthorize
( page: Page, authenticate: (page: Page) => Promise<void>, )
src/frontend/tests/e2e-playwright/utils.ts:60
↓ 45 callersFunctionstorage_borrow
(f: impl FnOnce(&Storage<DefaultMemoryImpl>) -> R)
src/internet_identity/src/state.rs:409
↓ 45 callersMethodtrigger
( event: T[keyof T], additionalProperties?: Record<string, string | number>, )
src/frontend/src/lib/utils/analytics/Funnel.ts:68
↓ 45 callersFunctionupdate_events_internal
Internal helper useful for testing.
src/internet_identity/src/stats/event_stats.rs:204
↓ 43 callersMethodis_empty
(&self)
src/internet_identity/src/dnssec/types.rs:200
↓ 42 callersFunctioncreateMockCredential
( origin: string | undefined, )
src/frontend/src/lib/utils/findWebAuthnFlows.test.ts:26
↓ 42 callersFunctionresolve
Resolve an SSO domain into a verify descriptor + `jwks_uri` from the cached discovery result, cross-checking the JWT's issuer against the discovered i
src/internet_identity/src/openid/sso.rs:161
↓ 42 callersFunctiontest_authn_method
()
src/internet_identity/tests/integration/v2_api/authn_method_test_helpers.rs:39
↓ 41 callersFunctionexpect_user_error_with_message
( result: Result<T, RejectResponse>, expected_error_code: ErrorCode, message_pattern: Regex, )
src/canister_tests/src/framework.rs:453
↓ 39 callersFunctionadd
(anchor_number: AnchorNumber, device_data: DeviceData)
src/internet_identity/src/main.rs:311
↓ 39 callersFunctionbytes
(s: string)
src/frontend/src/routes/(new-styling)/authorize/views/attributeConsentView.utils.test.ts:14
↓ 39 callersFunctionpersistent_state_mut
(f: impl FnOnce(&mut PersistentState) -> R)
src/internet_identity/src/state.rs:469
↓ 38 callersFunctionauthn_method_registration_mode_enter
( identity_number: IdentityNumber, id: Option<RegistrationId>, )
src/internet_identity/src/main.rs:1294
↓ 37 callersMethodanchor_number
(&self)
src/internet_identity/src/storage/anchor.rs:645
↓ 37 callersMethodlookup
Classify an incoming request for `key`, claiming the in-flight marker for a `StartFill`. Sweeps every dead entry first (the requested key's removal is
src/internet_identity/src/single_flight_cache.rs:243
↓ 35 callersFunctionresolveAttributeGroups
( requestedKeys: string[], available: Array<[string, Uint8Array | number[]]>, )
src/frontend/src/lib/stores/channelHandlers/attributes.ts:121
↓ 34 callersMethodaddEventListener
(event: "close", listener: () => void)
src/frontend/src/lib/utils/transport/utils.ts:19
↓ 34 callersFunctionprincipal_2
()
src/canister_tests/src/framework.rs:373
↓ 33 callersFunctionregister_anchor_with_device
( env: &PocketIc, canister_id: CanisterId, device: &DeviceData, )
src/canister_tests/src/flows.rs:12
↓ 32 callersFunctionfetch
Drive `fetch_txt` to a settled result: a cold key returns `Pending` and spawns the (synchronous, mock) fetch, so we run the detached fills and read it
src/internet_identity/src/doh/mod.rs:429
↓ 32 callersMethodis_empty
Returns `true` if the claim carries no audience at all.
src/internet_identity/src/openid.rs:288
↓ 32 callersMethodnew_registration
(&mut self)
src/internet_identity/src/storage/registration_rates.rs:60
↓ 31 callersFunctionexpect_fill
(state: Lookup<&'static str>)
src/internet_identity/src/single_flight_cache.rs:710
↓ 31 callersMethodsignOut
( fn?: (confirmation: SignOutConfirmation) => Promise<T>, )
src/frontend/tests/e2e-playwright/fixtures/managePage.ts:135
↓ 30 callersFunctionpubkey
(n: u8)
src/internet_identity/src/storage/tests.rs:857
↓ 29 callersMethodinto_vec
(self)
src/internet_identity/src/storage/storable/account_reference_list.rs:29
↓ 28 callersFunctionarg_with_wasm_hash
(wasm: Vec<u8>)
src/canister_tests/src/framework.rs:219
↓ 28 callersMethodcomplete_fill
Apply the outcome of the fill identified by `token`. `Ok` stores fresh and resets backoff; `Err` keeps any prior value for stale-serving and parks a b
src/internet_identity/src/single_flight_cache.rs:306
↓ 28 callersFunctionprepare_delegation
Body of `email_recovery_prepare_delegation(dns_input, session_pk)`. Anonymous: anyone can call this. The `session_pk` is a fresh public key the FE ju
src/internet_identity/src/email_recovery/prepare.rs:65
↓ 28 callersMethodvalue
( type: S, )
src/frontend/src/lib/utils/utils.ts:250
↓ 27 callersMethodall
Returns all known attribute name variants.
src/internet_identity_interface/src/internet_identity/types/attributes.rs:68
↓ 27 callersFunctioninit
(maybe_arg: Option<InternetIdentityInit>)
src/internet_identity/src/main.rs:861
↓ 27 callersFunctionretrieve_aggregation_internal
( aggregation: &dyn Aggregation, window: AggregationWindow, ii_domain: Option<IIDomain>, s: &S
src/internet_identity/src/stats/event_stats/event_aggregations.rs:79
↓ 27 callersMethodtoDer
()
src/frontend/src/lib/utils/webAuthnIdentity.ts:61
↓ 26 callersMethodadd
(fn: (dialog: AddDialog) => Promise<T>)
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:238
↓ 26 callersFunctionbytes
(s: string)
src/frontend/src/lib/stores/channelHandlers/attributes.test.ts:9
↓ 26 callersFunctioncaller
()
src/internet_identity/src/openid/verify.rs:358
↓ 26 callersFunctioncreate_account
( anchor_number: AnchorNumber, origin: FrontendHostname, name: String, )
src/internet_identity/src/main.rs:505
↓ 26 callersMethodtick
(now: number)
src/frontend/src/lib/components/ui/holdController.ts:36
↓ 25 callersFunctiontest_principal
adapted from `PrincipalId::new_user_test_id`
src/canister_tests/src/framework.rs:880
↓ 25 callersFunctiontriggerDropWaveAnimation
( overrideOptions?: Partial<FlairAnimationOptions>, )
src/frontend/src/lib/utils/animation-dispatcher.ts:98
↓ 25 callersFunctionupgrade_ii_canister
(env: &PocketIc, canister_id: CanisterId, wasm: Vec<u8>)
src/canister_tests/src/framework.rs:307
↓ 24 callersMethodcreate
* Create an identity. * @param credentialCreationOptions an optional CredentialCreationOptions Challenge
src/frontend/src/lib/utils/webAuthnIdentity.ts:176
↓ 24 callersMethodgetPublicKey
()
src/frontend/src/lib/utils/webAuthnIdentity.ts:217
↓ 24 callersFunctionstorage_replace
(storage: Storage<DefaultMemoryImpl>)
src/internet_identity/src/state.rs:423
↓ 24 callersFunctionwith_mut
Look up a pending challenge by nonce, applying the TTL check, and run a closure against its mutable state. Returns `None` if the nonce is unknown or h
src/internet_identity/src/email_inbound/pending.rs:373
↓ 23 callersFunctionadd_entry
( env: &PocketIc, canister_id: CanisterId, sender: Principal, anchor: AnchorNumber, timest
src/canister_tests/src/api/archive.rs:8
↓ 22 callersFunctioncheck_authorization
Checks if the caller is authorized to operate on the anchor provided and returns a reference to the public key of the authentication method used (devi
src/internet_identity/src/authz_utils.rs:106
↓ 22 callersFunctiondeploy_archive_via_ii
(env: &PocketIc, ii_canister: CanisterId)
src/canister_tests/src/framework.rs:782
↓ 22 callersFunctionfresh_identity
Create an identity and return `(identity_number, principal)`. The principal is needed for any caller-authenticated method calls (`prepare_add`, `crede
src/internet_identity/tests/integration/email_recovery.rs:127
↓ 22 callersMethodgetItem
(key: string)
src/frontend/src/lib/utils/featureFlags/index.test.ts:7
↓ 22 callersMethodwriteDown
()
src/frontend/tests/e2e-playwright/fixtures/manageRecoveryPage.ts:22
↓ 21 callersMethodassertPasskeyCount
(count: number)
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:269
↓ 21 callersMethodassertVisible
()
src/frontend/tests/e2e-playwright/fixtures/managePage.ts:151
↓ 21 callersFunctionmessage_with
(from_values: &[&str])
src/internet_identity/src/dmarc/from_header.rs:180
↓ 21 callersFunctionprepare_account_delegation
`mcp_prepare_account_delegation`: mint a ≤5-minute account delegation for the calling MCP server at `target_origin`, as `account_number` — one of the
src/internet_identity/src/mcp.rs:182
↓ 21 callersFunctionregister_anchor_with
( env: &PocketIc, canister_id: CanisterId, sender: Principal, device_data: &DeviceData, )
src/canister_tests/src/flows.rs:20
↓ 21 callersFunctionsetup_ii
(env: &PocketIc, arg: Option<InternetIdentityInit>)
src/internet_identity/tests/integration/archive_integration.rs:19
↓ 21 callersFunctiontest_credential_id
(n: u8)
src/internet_identity/tests/integration/v2_api/passkey_aaguid.rs:29
↓ 21 callersMethodverifySelecting
(words: string[])
src/frontend/tests/e2e-playwright/fixtures/manageRecoveryPage.ts:42
↓ 20 callersFunctioninstall_archive_canister
(env: &PocketIc, wasm: Vec<u8>)
src/canister_tests/src/framework.rs:789
↓ 20 callersMethodprepare_openid_attributes
Returns `(attribute_key, attribute_value)` pairs for attributes from `requested_attributes` for which we have values in our OpenID credentials' JWT.
src/internet_identity/src/attributes.rs:163
↓ 20 callersFunctionreset_for_tests
()
src/internet_identity/src/email_inbound/pending.rs:414
↓ 20 callersFunctionsample_device
()
src/internet_identity/src/storage/anchor/tests.rs:607
next →1–100 of 3,576, ranked by callers