()
| 311 | |
| 312 | #[test] |
| 313 | fn step_up_auth() { |
| 314 | let auth = test_auth(); |
| 315 | // auth_time is now → should pass with 900s window. |
| 316 | let cond = GrantCondition::StepUpAuth { max_age_secs: 900 }; |
| 317 | assert!(evaluate_conditions(&[cond], &auth, "10.0.0.1").is_ok()); |
| 318 | } |
| 319 | |
| 320 | #[test] |
| 321 | fn device_trust() { |
nothing calls this directly
no test coverage detected