Skip to main content

AuthenticationReporter

Type Alias AuthenticationReporter 

Source
pub type AuthenticationReporter = Arc<dyn Fn(&HeaderMap) -> Option<Authentication> + Send + Sync>;
Available on crate features consent and http only.
Expand description

How the host answers “when, and how, did you authenticate this user”.

The third identity seam, and the one RFC 9470 needs: a subject resolver answers WHO, an approval resolver answers WHETHER THEY AGREED, and this answers HOW STRONGLY AND HOW RECENTLY. None means the host is not reporting one, which satisfies no acr_values and no max_age; see ServiceBuilder::with_authentication_reporter.

Aliased Type§

pub struct AuthenticationReporter { /* private fields */ }