Справочник функций
PHP Manual

Authentication Services