Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/internet-identity
/ functions
Functions
3,576 in github.com/dfinity/internet-identity
⨍
Functions
3,576
◇
Types & classes
734
↓ 458 callers
Function
env
The path to the state machine binary to run the tests with
src/canister_tests/src/framework.rs:137
↓ 435 callers
Method
map
( opts: ((a: A) => B) | { f: (a: A) => B | typeof Chan.unchanged; def: B }, )
src/frontend/src/lib/utils/utils.ts:151
↓ 307 callers
Function
principal_1
()
src/canister_tests/src/framework.rs:369
↓ 294 callers
Method
len
(&self)
src/internet_identity/src/dnssec/types.rs:196
↓ 204 callers
Method
iter
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 callers
Method
principal
(&self, anchor_number: AnchorNumber)
src/internet_identity/src/openid.rs:109
↓ 170 callers
Function
install_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 callers
Method
set
(value: boolean)
src/frontend/src/lib/utils/featureFlags/index.ts:40
↓ 143 callers
Method
goto
()
src/frontend/tests/e2e-playwright/fixtures/recoveryPage.ts:143
↓ 134 callers
Function
register_anchor
(env: &PocketIc, canister_id: CanisterId)
src/canister_tests/src/flows.rs:8
↓ 129 callers
Method
get
(&self, zone: &DnsName)
src/internet_identity/src/dnssec/types.rs:192
↓ 123 callers
Function
assert_metric
(metrics: &str, metric_name: &str, expected: f64)
src/canister_tests/src/framework.rs:582
↓ 123 callers
Method
fill
(value: string)
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:21
↓ 113 callers
Method
insert
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 callers
Function
get_metrics
(env: &PocketIc, canister_id: CanisterId)
src/canister_tests/src/framework.rs:553
↓ 108 callers
Function
create_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 callers
Function
get
(identityNumber: bigint, origin: string)
src/frontend/src/lib/stores/last-shared-emails.store.ts:22
↓ 99 callers
Function
time
()
src/internet_identity/src/state.rs:191
↓ 95 callers
Function
install_ii_canister_with_arg
( env: &PocketIc, wasm: Vec<u8>, arg: Option<InternetIdentityInit>, )
src/canister_tests/src/framework.rs:173
↓ 78 callers
Method
locator
()
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:111
↓ 73 callers
Function
get_anchor_info
(anchor_number: AnchorNumber)
src/internet_identity/src/anchor_management.rs:23
↓ 70 callers
Method
add_device
(&mut self, device: Device)
src/internet_identity/src/storage/anchor.rs:649
↓ 70 callers
Method
from
(src: IdentityUpdateError)
src/internet_identity/src/main.rs:554
↓ 64 callers
Method
allocate_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 callers
Function
sample_webauthn_authn_method
(i: u8)
src/internet_identity/tests/integration/v2_api/authn_method_test_helpers.rs:132
↓ 64 callers
Function
upgrade_ii_canister_with_arg
( env: &PocketIc, canister_id: CanisterId, wasm: Vec<u8>, arg: Option<InternetIdentityInit>, )
src/canister_tests/src/framework.rs:312
↓ 59 callers
Method
get
* 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 callers
Method
remove
(fn: (dialog: RemovePasskeyDialog) => Promise<T>)
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:131
↓ 59 callers
Function
storage_borrow_mut
(f: impl FnOnce(&mut Storage<DefaultMemoryImpl>) -> R)
src/internet_identity/src/state.rs:416
↓ 55 callers
Function
device_data_2
()
src/canister_tests/src/framework.rs:394
↓ 54 callers
Function
install_ii_canister
(env: &PocketIc, wasm: Vec<u8>)
src/canister_tests/src/framework.rs:169
↓ 52 callers
Function
identity_info
(identity_number: IdentityNumber)
src/internet_identity/src/main.rs:1130
↓ 50 callers
Method
close
()
src/frontend/src/lib/utils/transport/utils.ts:25
↓ 48 callers
Function
addVirtualAuthenticator
(page: Page)
src/frontend/tests/e2e-playwright/utils.ts:345
↓ 48 callers
Function
device_data_1
()
src/canister_tests/src/framework.rs:384
↓ 46 callers
Method
write
Writes the data of the specified anchor to stable memory.
src/internet_identity/src/storage.rs:730
↓ 45 callers
Function
authorize
( page: Page, authenticate: (page: Page) => Promise<void>, )
src/frontend/tests/e2e-playwright/utils.ts:60
↓ 45 callers
Function
storage_borrow
(f: impl FnOnce(&Storage<DefaultMemoryImpl>) -> R)
src/internet_identity/src/state.rs:409
↓ 45 callers
Method
trigger
( event: T[keyof T], additionalProperties?: Record<string, string | number>, )
src/frontend/src/lib/utils/analytics/Funnel.ts:68
↓ 45 callers
Function
update_events_internal
Internal helper useful for testing.
src/internet_identity/src/stats/event_stats.rs:204
↓ 43 callers
Method
is_empty
(&self)
src/internet_identity/src/dnssec/types.rs:200
↓ 42 callers
Function
createMockCredential
( origin: string | undefined, )
src/frontend/src/lib/utils/findWebAuthnFlows.test.ts:26
↓ 42 callers
Function
resolve
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 callers
Function
test_authn_method
()
src/internet_identity/tests/integration/v2_api/authn_method_test_helpers.rs:39
↓ 41 callers
Function
expect_user_error_with_message
( result: Result<T, RejectResponse>, expected_error_code: ErrorCode, message_pattern: Regex, )
src/canister_tests/src/framework.rs:453
↓ 39 callers
Function
add
(anchor_number: AnchorNumber, device_data: DeviceData)
src/internet_identity/src/main.rs:311
↓ 39 callers
Function
bytes
(s: string)
src/frontend/src/routes/(new-styling)/authorize/views/attributeConsentView.utils.test.ts:14
↓ 39 callers
Function
persistent_state_mut
(f: impl FnOnce(&mut PersistentState) -> R)
src/internet_identity/src/state.rs:469
↓ 38 callers
Function
authn_method_registration_mode_enter
( identity_number: IdentityNumber, id: Option<RegistrationId>, )
src/internet_identity/src/main.rs:1294
↓ 37 callers
Method
anchor_number
(&self)
src/internet_identity/src/storage/anchor.rs:645
↓ 37 callers
Method
lookup
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 callers
Function
resolveAttributeGroups
( requestedKeys: string[], available: Array<[string, Uint8Array | number[]]>, )
src/frontend/src/lib/stores/channelHandlers/attributes.ts:121
↓ 34 callers
Method
addEventListener
(event: "close", listener: () => void)
src/frontend/src/lib/utils/transport/utils.ts:19
↓ 34 callers
Function
principal_2
()
src/canister_tests/src/framework.rs:373
↓ 33 callers
Function
register_anchor_with_device
( env: &PocketIc, canister_id: CanisterId, device: &DeviceData, )
src/canister_tests/src/flows.rs:12
↓ 32 callers
Function
fetch
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 callers
Method
is_empty
Returns `true` if the claim carries no audience at all.
src/internet_identity/src/openid.rs:288
↓ 32 callers
Method
new_registration
(&mut self)
src/internet_identity/src/storage/registration_rates.rs:60
↓ 31 callers
Function
expect_fill
(state: Lookup<&'static str>)
src/internet_identity/src/single_flight_cache.rs:710
↓ 31 callers
Method
signOut
( fn?: (confirmation: SignOutConfirmation) => Promise<T>, )
src/frontend/tests/e2e-playwright/fixtures/managePage.ts:135
↓ 30 callers
Function
pubkey
(n: u8)
src/internet_identity/src/storage/tests.rs:857
↓ 29 callers
Method
into_vec
(self)
src/internet_identity/src/storage/storable/account_reference_list.rs:29
↓ 28 callers
Function
arg_with_wasm_hash
(wasm: Vec<u8>)
src/canister_tests/src/framework.rs:219
↓ 28 callers
Method
complete_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 callers
Function
prepare_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 callers
Method
value
( type: S, )
src/frontend/src/lib/utils/utils.ts:250
↓ 27 callers
Method
all
Returns all known attribute name variants.
src/internet_identity_interface/src/internet_identity/types/attributes.rs:68
↓ 27 callers
Function
init
(maybe_arg: Option<InternetIdentityInit>)
src/internet_identity/src/main.rs:861
↓ 27 callers
Function
retrieve_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 callers
Method
toDer
()
src/frontend/src/lib/utils/webAuthnIdentity.ts:61
↓ 26 callers
Method
add
(fn: (dialog: AddDialog) => Promise<T>)
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:238
↓ 26 callers
Function
bytes
(s: string)
src/frontend/src/lib/stores/channelHandlers/attributes.test.ts:9
↓ 26 callers
Function
caller
()
src/internet_identity/src/openid/verify.rs:358
↓ 26 callers
Function
create_account
( anchor_number: AnchorNumber, origin: FrontendHostname, name: String, )
src/internet_identity/src/main.rs:505
↓ 26 callers
Method
tick
(now: number)
src/frontend/src/lib/components/ui/holdController.ts:36
↓ 25 callers
Function
test_principal
adapted from `PrincipalId::new_user_test_id`
src/canister_tests/src/framework.rs:880
↓ 25 callers
Function
triggerDropWaveAnimation
( overrideOptions?: Partial<FlairAnimationOptions>, )
src/frontend/src/lib/utils/animation-dispatcher.ts:98
↓ 25 callers
Function
upgrade_ii_canister
(env: &PocketIc, canister_id: CanisterId, wasm: Vec<u8>)
src/canister_tests/src/framework.rs:307
↓ 24 callers
Method
create
* Create an identity. * @param credentialCreationOptions an optional CredentialCreationOptions Challenge
src/frontend/src/lib/utils/webAuthnIdentity.ts:176
↓ 24 callers
Method
getPublicKey
()
src/frontend/src/lib/utils/webAuthnIdentity.ts:217
↓ 24 callers
Function
storage_replace
(storage: Storage<DefaultMemoryImpl>)
src/internet_identity/src/state.rs:423
↓ 24 callers
Function
with_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 callers
Function
add_entry
( env: &PocketIc, canister_id: CanisterId, sender: Principal, anchor: AnchorNumber, timest
src/canister_tests/src/api/archive.rs:8
↓ 22 callers
Function
check_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 callers
Function
deploy_archive_via_ii
(env: &PocketIc, ii_canister: CanisterId)
src/canister_tests/src/framework.rs:782
↓ 22 callers
Function
fresh_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 callers
Method
getItem
(key: string)
src/frontend/src/lib/utils/featureFlags/index.test.ts:7
↓ 22 callers
Method
writeDown
()
src/frontend/tests/e2e-playwright/fixtures/manageRecoveryPage.ts:22
↓ 21 callers
Method
assertPasskeyCount
(count: number)
src/frontend/tests/e2e-playwright/fixtures/manageAccessPage.ts:269
↓ 21 callers
Method
assertVisible
()
src/frontend/tests/e2e-playwright/fixtures/managePage.ts:151
↓ 21 callers
Function
message_with
(from_values: &[&str])
src/internet_identity/src/dmarc/from_header.rs:180
↓ 21 callers
Function
prepare_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 callers
Function
register_anchor_with
( env: &PocketIc, canister_id: CanisterId, sender: Principal, device_data: &DeviceData, )
src/canister_tests/src/flows.rs:20
↓ 21 callers
Function
setup_ii
(env: &PocketIc, arg: Option<InternetIdentityInit>)
src/internet_identity/tests/integration/archive_integration.rs:19
↓ 21 callers
Function
test_credential_id
(n: u8)
src/internet_identity/tests/integration/v2_api/passkey_aaguid.rs:29
↓ 21 callers
Method
verifySelecting
(words: string[])
src/frontend/tests/e2e-playwright/fixtures/manageRecoveryPage.ts:42
↓ 20 callers
Function
install_archive_canister
(env: &PocketIc, wasm: Vec<u8>)
src/canister_tests/src/framework.rs:789
↓ 20 callers
Method
prepare_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 callers
Function
reset_for_tests
()
src/internet_identity/src/email_inbound/pending.rs:414
↓ 20 callers
Function
sample_device
()
src/internet_identity/src/storage/anchor/tests.rs:607
next →
1–100 of 3,576, ranked by callers