Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,913 · python 20,426 · 6,405 files · digest 00b5738199cb · built in 1.3 s · crystals off

handle_session_create

cre8_app_passport::init::handle_session_create

fn · cre8-app-passport · crates/cre8-app-passport/src/init.rs:230

70lines
6cyclomatic
1max nesting
19statements
3? exits
2params
4callers
18callees
1.5 (p91)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (4 direct callers, 18 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 4 sitesname · 1 sitename · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitea_service_key_signs_its_acc…app-passport · cc 1cre8_app_passport::init::tests::a_service_key_signs_its_account_in_until_revoked_and_never_shadows_its_passwordthrough_the_gateway_a_sessi…app-passport · cc 1cre8_app_passport::init::tests::through_the_gateway_a_session_id_alone_revokes_only_your_own_sessiona_requested_session_id_neve…app-passport · cc 1cre8_app_passport::init::tests::a_requested_session_id_never_overwrites_an_existing_sessioncreate_sessionapp-passport · cc 1cre8_app_passport::init::tests::create_sessionan_external_session_never_s…app-passport · cc 1cre8_app_passport::init::tests::an_external_session_never_shadows_the_account_sign_inpublic_session_create_alway…app-passport · cc 2cre8_app_passport::init::tests::public_session_create_always_requires_a_valid_secret_and_hides_identifier_existencea_legacy_guest_passport_nev…app-passport · cc 1cre8_app_passport::init::tests::a_legacy_guest_passport_never_signs_in_with_its_derivable_secrethandle_session_createapp-passport · cc 6cre8_app_passport::init::handle_session_createRuntimeContext::emit_eventruntime-app-types · cc 1cre8_runtime_app_types::utils::events::RuntimeContext::emit_eventpayload_or_selfutil-json · cc 1cre8_util_json::payload_or_selfnow_isoapp-passport-model · cc 1cre8_app_passport_model::now_isonew_tokenapp-passport-model · cc 1cre8_app_passport_model::new_tokenhash_secretapp-passport-model · cc 1cre8_app_passport_model::hash_secretpassport_saltapp-passport · cc 1cre8_app_passport::init::passport_saltget_session_by_idapp-passport · cc 1cre8_app_passport::store_browser::get_session_by_idwith_session_redirectapp-passport · cc 1cre8_app_passport::init::with_session_redirectnew_session_idapp-passport-model · cc 1cre8_app_passport_model::new_session_idupsert_sessionapp-passport · cc 1cre8_app_passport::store_browser::upsert_sessionsession_ttl_msapp-passport · cc 1cre8_app_passport::init::session_ttl_msrefresh_ttl_msapp-passport · cc 1cre8_app_passport::init::refresh_ttl_mspeer_seedapp-passport · cc 1cre8_app_passport::init::peer_seedauth_requiredapp-passport · cc 1cre8_app_passport::init::auth_requirednow_msplatform-time · cc 1cre8_platform_time::now_msvar_u64platform-env · cc 1cre8_platform_env::var_u64auth_requiredruntime-app-types · cc 1cre8_runtime_app_types::caller::auth_requiredsessionsapp-passport · cc 2cre8_app_passport::store_browser::sessionsid_seedapp-passport-model · cc 1cre8_app_passport_model::id_seedwith_safe_internal_redirectapp-passport · cc 5cre8_app_passport::init::with_safe_internal_redirectpassport_saltapp-passport-model · cc 1cre8_app_passport_model::passport_saltclamp_session_ttl_msapp-passport · cc 1cre8_app_passport::init::clamp_session_ttl_msclamp_refresh_ttl_msapp-passport · cc 1cre8_app_passport::init::clamp_refresh_ttl_ms

Control flow

Source not readable from this process.

Callees 18

Source not readable from this process.