jIAuthDriverClass

Extends

interface for classes used with the jAuthDriverClass

package

jelix

subpackage

auth_driver

see
since 1.0b2

Methods

create an empty object which will contains user informations

createUserObject() : object

Response

object

user informations (empty)

delete a user

deleteByLogin(string $login) 

Arguments

$login

string

login of the user to delete

gets all users

findAll() : array

Response

array

list of users

gets all users for which the login corresponds to the given pattern

findByLoginPattern(string $pattern) : array

Arguments

$pattern

string

the pattern

Response

array

list of users

get user informations

getByLogin(string $login) : object

Arguments

$login

string

login of the user on which we want to get informations

Response

object

user informations

get the user corresponding to the given login and encrypted password

getByLoginPassword(string $login, string $cryptedpassword) : object
deprecated

since 1.2.10

Arguments

$login

string

the user login

$cryptedpassword

string

the new encrypted password

Response

object

user informations

save a new user

insert(object $user) 

Arguments

$user

object

user informations

update user informations

update(object $user) 

Arguments

$user

object

user informations

change the password of a user

updatePassword(string $login, string $cryptedpassword) 

Arguments

$login

string

the user login

$cryptedpassword

string

the new encrypted password