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

create_session

cre8_app_passport::init::tests::create_session

fn · cre8-app-passport · crates/cre8-app-passport/src/init.rs:2182 test code

6lines
1cyclomatic
0max nesting
1statements
0? exits
2params
3callers
1callees
0.8 (p68)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (3 direct callers, 1 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 · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 1 sitemethod · 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_sessionhandle_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_session

Control flow

Source not readable from this process.

Callees 1

Source not readable from this process.