Overview

Packages

  • Auth

Classes

  • Horde_Auth
  • Horde_Auth_Auto
  • Horde_Auth_Base
  • Horde_Auth_Composite
  • Horde_Auth_Customsql
  • Horde_Auth_Cyrsql
  • Horde_Auth_Exception
  • Horde_Auth_Ftp
  • Horde_Auth_Http
  • Horde_Auth_Http_Remote
  • Horde_Auth_Imap
  • Horde_Auth_Ipbasic
  • Horde_Auth_Kolab
  • Horde_Auth_Ldap
  • Horde_Auth_Login
  • Horde_Auth_Msad
  • Horde_Auth_Pam
  • Horde_Auth_Passwd
  • Horde_Auth_Peclsasl
  • Horde_Auth_Radius
  • Horde_Auth_Shibboleth
  • Horde_Auth_Smb
  • Horde_Auth_Smbclient
  • Horde_Auth_Sql
  • Horde_Auth_Translation
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Auth_Imap

The Horde_Auth_Imap:: class provides an IMAP implementation of the Horde authentication system.

Copyright 1999-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, http://www.horde.org/licenses/lgpl21

Horde_Auth_Base
Extended by Horde_Auth_Imap
Package: Auth
Category: Horde
License: LGPL-2.1
Author: Chuck Hagenbuch chuck@horde.org
Author: Gaudenz Steinlin gaudenz@soziologie.ch
Author: Jan Schneider jan@horde.org
Located at Horde/Auth/Imap.php
Methods summary
public
# __construct( array $params = array() )

Constructor.

Constructor.

Parameters

$params
Optional parameters: <pre><span class="php-quote">'admin_password'</span> - (string) The password of the adminstrator. <span class="php-keyword1">DEFAULT</span>: <span class="php-keyword1">null</span> <span class="php-quote">'admin_user'</span> - (string) The name of a user with admin privileges. <span class="php-keyword1">DEFAULT</span>: <span class="php-keyword1">null</span> <span class="php-quote">'charset'</span> - (string) <span class="php-keyword1">Default</span> charset. <span class="php-keyword1">DEFAULT</span>: NONE <span class="php-quote">'hostspec'</span> - (string) The hostname <span class="php-keyword1">or</span> IP address of the server. <span class="php-keyword1">DEFAULT</span>: <span class="php-quote">'localhost'</span> <span class="php-quote">'port'</span> - (integer) The server port to which we will connect. IMAP is generally <span class="php-num">143</span>, <span class="php-keyword1">while</span> IMAP-SSL is generally <span class="php-num">993</span>. <span class="php-keyword1">DEFAULT</span>: Encryption port <span class="php-keyword1">default</span> <span class="php-quote">'secure'</span> - (string) The encryption to <span class="php-keyword1">use</span>. Either <span class="php-quote">'none'</span>, <span class="php-quote">'ssl'</span>, <span class="php-keyword1">or</span> <span class="php-quote">'tls'</span>. <span class="php-keyword1">DEFAULT</span>: <span class="php-quote">'none'</span> <span class="php-quote">'userhierarchy'</span> - (string) The hierarchy where user mailboxes are stored. <span class="php-keyword1">DEFAULT</span>: <span class="php-quote">'user.'</span></pre>

Overrides

Horde_Auth_Base::__construct()
public
# addUser( string $userId, array $credentials )

Add a set of authentication credentials.

Add a set of authentication credentials.

Parameters

$userId
The userId to add.
$credentials
The credentials to use.

Throws

Horde_Auth_Exception

Overrides

Horde_Auth_Base::addUser()
public
# removeUser( string $userId )

Delete a set of authentication credentials.

Delete a set of authentication credentials.

Parameters

$userId
The userId to delete.

Throws

Horde_Auth_Exception

Overrides

Horde_Auth_Base::removeUser()
public array
# listUsers( mixed $sort = false )

List all users in the system.

List all users in the system.

Returns

array
The array of userIds.

Throws

Horde_Auth_Exception

Overrides

Horde_Auth_Base::listUsers()
Methods inherited from Horde_Auth_Base
authenticate(), exists(), getCredential(), getError(), getParam(), hasCapability(), isLocked(), lockUser(), resetPassword(), setCredential(), setError(), transparent(), unlockUser(), updateUser(), validateAuth()
API documentation generated by ApiGen