Function ccash_rs::methods::verify_password[][src]

pub async fn verify_password(
    session: &CCashSession,
    user: &CCashUser
) -> Result<bool, CCashError>
Expand description

Returns a bool about whether or not the password for a given user is correct.

Errors

Will return a CCashError if the request fails or if the CCash instance returns an error code when verifing the password as long as the interpret_endpoint_errors_as_false feature is disabled.