Skip to main content

current_user

Function current_user 

Source
pub async fn current_user<U: AuthUser>(parts: &Parts) -> Result<U, AuthError>
Expand description

Load the current user model from extensions + DB.