auth::user_provider

Function authenticate_with_credential

source
fn authenticate_with_credential(
    users: &HashMap<String, Vec<u8>>,
    input_id: Identity<'_>,
    input_pwd: Password<'_>,
) -> Result<UserInfoRef>