Current File : //home/strato/chroot/opt/RZphp81/includes/doc/Net_NNTP/docs/examples/phpdoc/authenticate.php
$authenticated = $nntp->authenticate('somebody', 'secret');
if (PEAR::isError($authenticated)) {
    // handle error
}

if ($authenticated) {
    // success
} else {
    // failure
}