[ Index ]
 

Code source de IMP H3 (4.1.5)

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/lib/Auth/ -> imp.php (sommaire)

(pas de description)

Poids: 283 lignes (10 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 3 fichiers
 lib/Session.php
 lib/IMAP.php
 lib/Search.php

Définit 1 class

Auth_imp:: (5 méthodes):
  Auth_imp()
  authenticate()
  authenticateOptions()
  _authenticate()
  IMPsetAuthErrorMsg()


Classe: Auth_imp  - X-Ref

The Auth_imp:: class provides an IMP implementation of the Horde
authentication system.

Required parameters:<pre>
None.</pre>

Optional parameters:<pre>
None.</pre>


$Horde: imp/lib/Auth/imp.php,v 1.16.6.16 2007/01/02 13:54:57 jan Exp $

Copyright 2003-2007 Michael Slusarz <slusarz@bigworm.colorado.edu>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Auth_imp($params = array()   X-Ref
Constructs a new IMP authentication object.

param: array $params  A hash containing connection parameters.

authenticate($userID = null, $credentials = array()   X-Ref
Find out if a set of login credentials are valid, and if
requested, mark the user as logged in in the current session.

param: string $userID      The userID to check.
param: array $credentials  The credentials to check.
param: boolean $login      Whether to log the user in. If false, we'll
return: boolean  Whether or not the credentials are valid.

authenticateOptions($params = array()   X-Ref
Set IMP-specific authentication options.

param: array $params  The params to set.

_authenticate($userID, $credentials)   X-Ref
Find out if a set of login credentials are valid.

param: string $userID      The userID to check.
param: array $credentials  An array of login credentials.
return: boolean  Whether or not the credentials are valid.

IMPsetAuthErrorMsg($msg)   X-Ref
Somewhat of a hack to allow IMP to set an authentication error message
that may occur outside of this file.

param: string $msg  The error message to set.



Généré le : Thu Nov 29 12:30:07 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics