Skip to main content

auth_context

Function auth_context 

Source
pub fn auth_context<B>(req: &Request<B>) -> AuthContext
Expand description

Return the request authentication context, defaulting to anonymous when the auth layer has not run.