surrealdb::iam::verify

Function verify_creds

Source
pub async fn verify_creds(
    ds: &Datastore,
    ns: Option<&String>,
    db: Option<&String>,
    user: &str,
    pass: &str,
) -> Result<(Auth, DefineUserStatement), Error>