lucee.Componentmodels.auth.User
Copyright since 2016 by Ortus Solutions, Corp www.ortussolutions.com --- This is a basic user object that can be used with CBSecurity. It implements the following interfaces via it's delegates - cbsecurity.interfaces.jwt.IJwtSubject - cbsecurity.interfaces.IAuthUser
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
firstName
|
true
|
false
|
|
any
|
id
Properties.
|
true
|
false
|
|
any
|
lastName
|
true
|
false
|
|
any
|
password
|
true
|
false
|
|
any
|
permissions
|
true
|
false
|
|
any
|
roles
|
true
|
false
|
|
any
|
username
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
string
|
getFirstName()
|
string
|
getId()
|
string
|
getLastName()
|
string
|
getPassword()
|
string
|
getPermissions()
|
string
|
getRoles()
|
string
|
getUsername()
|
boolean
|
isLoaded()
Verify if this is a valid user or not. |
any
|
setFirstName(any firstName)
|
any
|
setId(any id)
|
any
|
setLastName(any lastName)
|
any
|
setPassword(any password)
|
User
|
setPermissions([any permissions])
Set permissions into this object. |
User
|
setRoles([any roles])
Set roles into the object. |
any
|
setUsername(any username)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyserializable
- trueProperties
access
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Verify if this is a valid user or not
firstName
id
lastName
password
Set permissions into this object
permissions
- array or list of permissionsSet roles into the object
roles
- array or list of rolesusername