protected function verify(string $input, string $hash)
    {
        if (!password_verify($input, $hash)) {
            throw new \Caridea\Auth\Exception\InvalidPassword();
        }
    }
protected function verify(string $input, string $hash)
    {
        if (!password_verify($input, $hash)) {
            throw new \Caridea\Auth\Exception\InvalidPassword();
        }
    }
protected function verify ( string $ input , string $ hash ) { if ( ! password_verify ( $ input , $ hash ) ) { throw new \ Caridea \ Auth \ Exception \ InvalidPassword ( ) ; } }
Verifies a user-provided password against a hash.

@param string $input The user-provided password
@param string $hash The stored password hash
@throws \Caridea\Auth\Exception\MissingCredentials If the user-provided password is empty
@throws \Caridea\Auth\Exception\InvalidPassword If the password fails to verify
Verifies a user - provided password against a hash .