Storage drivers

Storage drivers

Storage drivers -- Introduction

Overview

PEAR::Auth uses a number of so called storage containers to store the login data. The following passages describe all of them. If the containers that come with the package don't fit your needs, it is easy to create custom ones, also.

File

The storage-specific argument for the Auth constructor() is the file name of the passwd-style file.

SMBPasswd

This storage container provides authentication against SAMBA smbpasswd files. The storage-specific argument for the Auth constructor() is the file name of the SAMBA passwd-style file.

IMAP

This storage container connects to the specified IMAP server and tries to login there with the specified username/password.

The storage-specific argument for the Auth constructor() is an array.

POP3

This storage container connects to the specified POP3 server and tries to login there with the specified username/password.

The storage-specific argument for the Auth constructor() is a string of the form server:port or just server.

RADIUS

You need Auth_RADIUS and the PECL radius in order to get this container to work.

The storage-specific argument for the Auth constructor() is an array.

vpopmail

This container uses an existing vpopmail service to validate the username and the password.

It does not require any storage-specific argument.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.