class UserDetails

Properties

protected $login
protected $displayname
protected $firstname
protected $lastname
protected $email
protected $password
protected $url_access
protected $guest
protected $settings
protected $meta

Methods

__construct(string $login = null)

UserDetails constructor.

setUserIdentity(string $login)

No description

setUserDisplayname(string $displayname)

No description

setOptionalAttributes(string $firstname = null, string $lastname = null, string $email = null, string $password = null)

Optional Set/Update the following attributes for the user as effect of this login

setIsNotValidated(bool $isNotValidated = true)

Set true if user should reauthenticate against other methods to access sensitive data

setIsGuest(bool $isGuest = true)

User is considered a guest (anonymous access and no access to profile)

setOptionalConfigSettings(array $config = [])

Set User Config Settings as Key => Value pairs

setOptionalMetaSettings(array $meta = [])

Set User Meta Settings as Key => Value pairs

array
getProperties()

Get UserDetails as Array

Details

at line 27
__construct(string $login = null)

UserDetails constructor.

Parameters

string $login

at line 34
setUserIdentity(string $login)

Parameters

string $login Required to identify existing users

at line 41
setUserDisplayname(string $displayname)

Parameters

string $displayname Required if user should be created

at line 53
setOptionalAttributes(string $firstname = null, string $lastname = null, string $email = null, string $password = null)

Optional Set/Update the following attributes for the user as effect of this login

Parameters

string $firstname
string $lastname
string $email
string $password Password for internal/fallback XELOS authentication

at line 65
setIsNotValidated(bool $isNotValidated = true)

Set true if user should reauthenticate against other methods to access sensitive data

Parameters

bool $isNotValidated

at line 74
setIsGuest(bool $isGuest = true)

User is considered a guest (anonymous access and no access to profile)

Parameters

bool $isGuest

at line 83
setOptionalConfigSettings(array $config = [])

Set User Config Settings as Key => Value pairs

Parameters

array $config

at line 92
setOptionalMetaSettings(array $meta = [])

Set User Meta Settings as Key => Value pairs

Parameters

array $meta

at line 100
array getProperties()

Get UserDetails as Array

Return Value

array