Function authenticate

Source
pub async fn authenticate(
    db: &Surreal<Client>,
    identity: &str,
    password: &str,
) -> Result<Option<Session>>