CheckAuthSupport

From PHRETS


Syntax

CheckAuthSupport ( string $auth_type )

Tries to determine if the requested authentication type is supported. Not very reliable


Parameters

$auth_type
Authentication type. Supported types are basic and digest


Return Values

Boolean
Returns TRUE if requested type is supported. Returns FALSE otherwise


Examples

if ($rets->CheckAuthSupport("digest")) {
        echo "Digest is supported";
}
Views
Personal tools