Jeedom Core

user
in package

Table of Contents

Properties

$_changed  : mixed
$enable  : mixed
$hash  : mixed
$id  : mixed
$login  : mixed
$options  : mixed
$password  : mixed
$profils  : mixed
$rights  : mixed

Methods

all()  : array<string|int, mixed>
byEnable()  : mixed
byHash()  : mixed
byId()  : mixed
byLogin()  : mixed
byLoginAndHash()  : mixed
byLoginAndPassword()  : mixed
byProfils()  : mixed
connect()  : user
Retourne un object utilisateur (si les information de connection sont valide)
connectToLDAP()  : mixed
deadCmd()  : mixed
decrypt()  : void
encrypt()  : void
failedLogin()  : void
getAccessKeyForReport()  : string
getChanged()  : mixed
getEnable()  : mixed
getHash()  : mixed
getId()  : mixed
getLogin()  : mixed
getOptions()  : mixed
getPassword()  : mixed
getProfils()  : mixed
getRights()  : mixed
is_Connected()  : bool
isBan()  : bool
preInsert()  : void
preRemove()  : void
preSave()  : void
refresh()  : void
regenerateHash()  : mixed
remove()  : mixed
removeBanIp()  : void
save()  : mixed
searchByOptions()  : mixed
searchByRight()  : mixed
setChanged()  : self
setEnable()  : self
setHash()  : mixed
setId()  : self
setLogin()  : self
setOptions()  : mixed
setPassword()  : self
setProfils()  : self
setRights()  : self
supportAccess()  : mixed
validateTwoFactorCode()  : mixed

Properties

Methods

all()

public static all() : array<string|int, mixed>
Return values
array<string|int, mixed>

de tous les utilisateurs

byEnable()

public static byEnable(mixed $_enable) : mixed
Parameters
$_enable : mixed

byHash()

public static byHash(mixed $_hash) : mixed
Parameters
$_hash : mixed

byId()

public static byId(mixed $_id) : mixed
Parameters
$_id : mixed

byLogin()

public static byLogin(mixed $_login) : mixed
Parameters
$_login : mixed

byLoginAndHash()

public static byLoginAndHash(mixed $_login, mixed $_hash) : mixed
Parameters
$_login : mixed
$_hash : mixed

byLoginAndPassword()

public static byLoginAndPassword(string $_login, string $_password) : mixed
Parameters
$_login : string
$_password : string

byProfils()

public static byProfils(mixed $_profils[, mixed $_enable = false ]) : mixed
Parameters
$_profils : mixed
$_enable : mixed = false

connect()

Retourne un object utilisateur (si les information de connection sont valide)

public static connect(string $_login, string $_mdp) : user
Parameters
$_login : string

nom d'utilisateur

$_mdp : string

motsz de passe en sha512

Return values
user

object user

connectToLDAP()

public static connectToLDAP() : mixed

failedLogin()

public static failedLogin() : void

getAccessKeyForReport()

public static getAccessKeyForReport() : string
Return values
string

getOptions()

public getOptions([mixed $_key = '' ][, mixed $_default = '' ]) : mixed
Parameters
$_key : mixed = ''
$_default : mixed = ''

getRights()

public getRights([mixed $_key = '' ][, mixed $_default = '' ]) : mixed
Parameters
$_key : mixed = ''
$_default : mixed = ''

is_Connected()

public is_Connected() : bool
Return values
bool

vrai si l'utilisateur est valide

isBan()

public static isBan() : bool
Return values
bool

regenerateHash()

public static regenerateHash() : mixed

removeBanIp()

public static removeBanIp() : void

searchByOptions()

public static searchByOptions(mixed $_search) : mixed
Parameters
$_search : mixed

searchByRight()

public static searchByRight(string $_rights) : mixed
Parameters
$_rights : string

setChanged()

public setChanged(mixed $_changed) : self
Parameters
$_changed : mixed
Return values
self

setEnable()

public setEnable(mixed $_enable) : self
Parameters
$_enable : mixed
Return values
self

setHash()

public setHash(mixed $_hash) : mixed
Parameters
$_hash : mixed

setId()

public setId(mixed $_id) : self
Parameters
$_id : mixed
Return values
self

setLogin()

public setLogin(mixed $_login) : self
Parameters
$_login : mixed
Return values
self

setOptions()

public setOptions(mixed $_key, mixed $_value) : mixed
Parameters
$_key : mixed
$_value : mixed

setPassword()

public setPassword(string $_password) : self
Parameters
$_password : string
Return values
self

setProfils()

public setProfils(mixed $_profils) : self
Parameters
$_profils : mixed
Return values
self

setRights()

public setRights(mixed $_key, mixed $_value) : self
Parameters
$_key : mixed
$_value : mixed
Return values
self

supportAccess()

public static supportAccess([mixed $_enable = true ]) : mixed
Parameters
$_enable : mixed = true

validateTwoFactorCode()

public validateTwoFactorCode(mixed $_code) : mixed
Parameters
$_code : mixed

        
On this page

Search results