Protected
Optional
$allowlistProtected
Optional
$allowlistProtected
$clientProtected
$dataProtected
$dataProtected
$dataPrivate
Optional
$descendantThe user's group descendants.
Private
Optional
$gatekeeperGatekeeper ability cache.
Gatekeeper will cache the user's abilities that it calculates, so it can check faster if that user has been checked before.
Protected
$isASleepingOptional
$originalUsed to save the current email address to send verification if it changes from the frontend.
If you are changing a user's email address and want to bypass email verification, don't set this.
Protected
$privateProtected
$protectedProtected
$protectedProtected
$sdataPrivate
$skipThis is explicitly used only during the registration proccess.
Protected
$sleepingPrivate
Static
DEFAULT_Private
Static
DEFAULT_Private
Static
DEFAULT_Static
ETYPEThe instance of Tilmeld to use for queries.
Private
Static
afterPrivate
Static
afterPrivate
Static
afterPrivate
Static
beforePrivate
Static
beforePrivate
Static
beforePrivate
Static
checkStatic
classStatic
clientStatic
nymphStatic
pubStatic
restStatic
searchA frontend accessible method to change the user's password.
The input data from the client.
Optional
revokeAn object with a boolean 'result' entry and a 'message' entry.
Check to see if a user has an ability.
This function will check both user and group abilities, if the user is marked to inherit the abilities of its group.
If ability
is undefined, it will check to see if the user is currently
logged in.
If the user has the "system/admin" ability, this function will return true.
Optional
ability: stringThe ability.
True or false.
Optional
additionalOptional
code?: stringProtected
$referenceProtected
$referenceOptional
additionalA frontend accessible method to remove the TOTP secret from the user's account.
The input data from the client.
An object with a boolean 'result' entry and a 'message' entry.
A frontend accessible method to revoke all currently issued tokens.
The input data from the client.
An object with a boolean 'result' entry and a 'message' entry.
A frontend accessible method to save a TOTP secret into the user's account.
The input data from the client.
An object with a boolean 'result' entry and a 'message' entry.
Static
currentStatic
factoryStatic
factoryStatic
factoryStatic
factoryStatic
getStatic
loginOptional
additionalOptional
code?: stringStatic
offStatic
onStatic
recoverRecover account details.
The input data from the client.
An object with a boolean 'result' entry and a 'message' entry.
Static
sendSend an account recovery link.
The input data from the client.
An object with a boolean 'result' entry and a 'message' entry.
Generated using TypeDoc
A user data model.
Written by Hunter Perrin for SciActive.
Author
Hunter Perrin [email protected]
Copyright
SciActive Inc
See
http://nymph.io/