Skip to main content

Authn

Type Alias Authn 

Source
pub type Authn = Arc<dyn Fn(&Request, Option<&Identity>) -> Authenticated + Send + Sync>;
Expand description

Who is calling, from an API token or session (Authorization: Bearer, or the session cookie) or from a verified Access identity.

Aliased Typeยง

pub struct Authn { /* private fields */ }