Skip to content
1 viewer

rust 1,863,595 · typescript 235,774 · javascript 133,240 · python 20,426 · 6,417 files · digest 0b3c7cffac51 · built in 1.9 s · crystals off

crates/cre8-app-gateway/src/request_identity.rs

cre8-app-gateway · module request_identity · src · 297 lines (161 code, 110 comment) · sha 75d390328f27e3cf

Items

const IDENTITY_CACHE_TTL_MS const IDENTITY_CACHE_NEGATIVE_TTL_MS const IDENTITY_CACHE_CAP struct CachedIdentity static CACHE

Functions

By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
resolve_token_accountsrc/request_identity.rs:140fn184562.3
cache_keysrc/request_identity.rs:80fn31611.7
remember_accountsrc/request_identity.rs:101fn146501.3
cached_accountsrc/request_identity.rs:88fn104401.1
cachesrc/request_identity.rs:166fn31401
identity_cachesrc/request_identity.rs:71fn41100.8
resolve_request_peersrc/request_identity.rs:121fn101140.5
cached_answers_are_keyed_to_their_own_tokensrc/request_identity.rs:174fn141040.5
negative_answers_expire_sooner_than_positive_onessrc/request_identity.rs:193fn181040.5
expired_entries_stop_attributingsrc/request_identity.rs:216fn81040.5
the_cache_stays_bounded_under_a_token_floodsrc/request_identity.rs:228fn72030.5
a_token_the_session_store_rejects_attributes_nobodysrc/request_identity.rs:241fn31010.5
a_validated_token_attributes_the_account_the_store_namedsrc/request_identity.rs:249fn61010.5
two_tokens_resolve_independentlysrc/request_identity.rs:259fn101010.5
a_repeat_inside_the_ttl_never_reaches_the_session_storesrc/request_identity.rs:275fn111010.5
the_key_is_a_hash_not_the_tokensrc/request_identity.rs:290fn71010.5

Source not readable from this process.