//! ref: composer/src/Composer/Util/AuthHelper.php