MkFramework
 All Data Structures Functions
Public Member Functions
plugin_auth Class Reference
Inheritance diagram for plugin_auth:
Inheritance graph
[legend]
Collaboration diagram for plugin_auth:
Collaboration graph
[legend]

Public Member Functions

 setAccount ($oAccount)
 
 getAccount ()
 
 isConnected ()
 
 checkLoginPass ($tElements, $sLogin, $sPass)
 
 verifLoginPass ($tElements, $sLogin, $sPass)
 
 logout ()
 
- Public Member Functions inherited from abstract_auth
 enable ()
 
 _isConnected ()
 
 _connect ()
 
 _disconnect ()
 

Detailed Description

plugin_auth classe pour gerer l'authentification

Author
Mika http://mkf.mkdevs.com/

Definition at line 23 of file plugin_auth.php.

Member Function Documentation

checkLoginPass (   $tElements,
  $sLogin,
  $sPass 
)

verifie si le couple login/pass est present dans le tableau public

Parameters
array$tElementstableau respectant la structure suivante: $array[login][pass]
string$sLoginlogin a verifier
string$sPassmot de passe a verifier
Returns
bool retourne true/false selong le couple login/mot de passe est correcte ou non

Definition at line 59 of file plugin_auth.php.

Here is the call graph for this function:

isConnected ( )

methode appele a la connexion public

Returns
bool retourne true/false selon que la personne est ou non authentifiee

Definition at line 41 of file plugin_auth.php.

Here is the call graph for this function:

logout ( )

methode appele a la deconnexion public

Definition at line 84 of file plugin_auth.php.

Here is the call graph for this function:

verifLoginPass (   $tElements,
  $sLogin,
  $sPass 
)

verifie si le couple login/pass est present dans le tableau public

Parameters
array$tElementstableau respectant la structure suivante: $array[login][pass]
string$sLoginlogin a verifier
string$sPassmot de passe a verifier
Returns
bool retourne true/false selong le couple login/mot de passe est correcte ou non

Definition at line 70 of file plugin_auth.php.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: