LCOV - code coverage report
Current view:
top level
-
proxy/src/auth/backend
- jwt.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
f8d8f5b90fa487a9e82c42da223f012f5d4fece7.info
Lines:
76.8 %
436
335
Test Date:
2024-09-19 20:36:02
Functions:
42.3 %
97
41
Function Name
Hit count
<<proxy::auth::backend::jwt::JwtHeader as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
28
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
12
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
12
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
4
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<<proxy::auth::backend::jwt::JwtPayload as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
16
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer
>
4
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer
>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
4
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
4
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
4
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#0}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#1}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#0}
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>::{closure#1}
0
<proxy::auth::backend::jwt::JwkCache>::check_jwt::<_>
0
::check_jwt::<_>
0
::check_jwt::
0
<proxy::auth::backend::jwt::JwkCache>::check_jwt::<_>::{closure#0}
0
::check_jwt::<_>::{closure#0}
0
::check_jwt::
::{closure#0}
0
<proxy::auth::backend::jwt::JwkCache>::check_jwt::<_>::{closure#0}::{closure#0}
0
::check_jwt::<_>::{closure#0}::{closure#0}
0
::check_jwt::
::{closure#0}::{closure#0}
0
<proxy::auth::backend::jwt::JwkCacheEntry>::find_jwk_and_audience
4
<proxy::auth::backend::jwt::JwkCacheEntry>::find_jwk_and_audience::{closure#0}
6
<proxy::auth::backend::jwt::JwkCacheEntry>::find_jwk_and_audience::{closure#0}::{closure#0}
4
<proxy::auth::backend::jwt::JwkCacheEntryLock as core::default::Default>::default
1
<proxy::auth::backend::jwt::JwkCacheEntryLock>::acquire_permit
2
::acquire_permit
1
::acquire_permit::{closure#0}
1
<proxy::auth::backend::jwt::JwkCacheEntryLock>::check_jwt::<_>
4
::check_jwt::<_>
0
::check_jwt::
4
::check_jwt::
0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::check_jwt::<_>::{closure#0}
4
::check_jwt::<_>::{closure#0}
0
::check_jwt::
::{closure#0}
4
::check_jwt::
::{closure#0}
0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::get_or_update_jwk_cache::<_>
4
::get_or_update_jwk_cache::<_>
0
::get_or_update_jwk_cache::
4
::get_or_update_jwk_cache::
0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::get_or_update_jwk_cache::<_>::{closure#0}
4
::get_or_update_jwk_cache::<_>::{closure#0}
0
::get_or_update_jwk_cache::
::{closure#0}
4
::get_or_update_jwk_cache::
::{closure#0}
0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::get_or_update_jwk_cache::<_>::{closure#0}::{closure#0}
0
::get_or_update_jwk_cache::<_>::{closure#0}::{closure#0}
0
::get_or_update_jwk_cache::
::{closure#0}::{closure#0}
0
::get_or_update_jwk_cache::
::{closure#0}::{closure#0}
0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::renew_jwks::<_>
1
::renew_jwks::<_>
0
::renew_jwks::
1
::renew_jwks::
0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::renew_jwks::<_>::{closure#0}
1
::renew_jwks::<_>::{closure#0}
0
::renew_jwks::
::{closure#0}
1
::renew_jwks::
::{closure#0}
0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::renew_jwks::<_>::{closure#0}::{closure#0}
2
::renew_jwks::<_>::{closure#0}::{closure#0}
0
::renew_jwks::
::{closure#0}::{closure#0}
2
::renew_jwks::
::{closure#0}::{closure#0}
0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::try_acquire_permit
0
<proxy::auth::backend::jwt::JwkRenewalPermit as core::ops::drop::Drop>::drop
1
<proxy::auth::backend::jwt::JwkRenewalPermit>::acquire_permit
2
::acquire_permit
1
::acquire_permit::{closure#0}
1
<proxy::auth::backend::jwt::JwkRenewalPermit>::into_owned
0
<proxy::auth::backend::jwt::JwkRenewalPermit>::try_acquire_permit
0
<proxy::auth::backend::jwt::JwkRenewalPermitInner>::into_owned
0
<proxy::auth::backend::jwt::KeySet>::find_key
6
<proxy::auth::backend::jwt::KeySet>::find_key::{closure#0}
10
<proxy::auth::backend::jwt::tests::renew::{closure#0}::Fetch as proxy::auth::backend::jwt::FetchAuthRules>::fetch_auth_rules
1
<proxy::auth::backend::jwt::tests::renew::{closure#0}::Fetch as proxy::auth::backend::jwt::FetchAuthRules>::fetch_auth_rules::{closure#0}
1
proxy::auth::backend::jwt::numeric_date_opt::<_>
4
proxy::auth::backend::jwt::numeric_date_opt::<&mut serde_json::de::Deserializer
>
4
proxy::auth::backend::jwt::numeric_date_opt::<_>
0
proxy::auth::backend::jwt::numeric_date_opt::<_>::{closure#0}
4
proxy::auth::backend::jwt::numeric_date_opt::<&mut serde_json::de::Deserializer
>::{closure#0}
4
proxy::auth::backend::jwt::numeric_date_opt::<_>::{closure#0}
0
proxy::auth::backend::jwt::tests::build_jwt_payload
4
proxy::auth::backend::jwt::tests::new_ec_jwk
2
proxy::auth::backend::jwt::tests::new_ec_jwt
2
proxy::auth::backend::jwt::tests::new_rsa_jwk
2
proxy::auth::backend::jwt::tests::new_rsa_jwt
2
proxy::auth::backend::jwt::tests::renew
2
proxy::auth::backend::jwt::tests::renew
1
proxy::auth::backend::jwt::tests::renew::{closure#0}
1
proxy::auth::backend::jwt::tests::renew::{closure#0}::{closure#0}
2
proxy::auth::backend::jwt::tests::renew::{closure#0}::{closure#0}::{closure#0}
2
proxy::auth::backend::jwt::tests::renew::{closure#0}::{closure#1}
1
proxy::auth::backend::jwt::verify_ec_signature
2
proxy::auth::backend::jwt::verify_ec_signature::{closure#0}
0
proxy::auth::backend::jwt::verify_rsa_signature
2
proxy::auth::backend::jwt::verify_rsa_signature::{closure#0}
0
Generated by:
LCOV version 2.1-beta