mmo-user-access
1 symbole · générée le 30 Nov 2026
mmo-user-access
mmo-user-access.jhs:1How an account gets in, in its form (mmo.oauth): a new account is invited by mail to choose its password -- the server mails it once saved, when it has an email and no password -- or given one now (the form's own <mmo-password>, slotted: slot="password"); an account saved has its actions, as the manager may (its rights, the server checking again): mail it a link to choose its password (shown when the mail cannot leave), end its sessions, remove its second factor. Its routes and the session's token are MMO.config.user.accounts.
- Étend
CustomShadowElement
Index
| entity accessor | ||
| config readonly accessor | ||
| init() | ||
| draw() | Show what fits the account: a choice for a new one, the actions for one saved | |
| choose(how) | A new account: invited ($how invite, no password sent) or given one (password, the slotted field) | |
| url(route) | ||
| call(route) async | ||
| invite() async | Mail the account a link to choose its password: the link shows when the mail cannot leave | |
| act(route, question, detail) async | Do $route to the account, once confirmed | |
| copyLink() | ||
| password |
Propriétés2
entity
accessormmo-user-access.jhs:39config
readonlyaccessormmo-user-access.jhs:49- Type
?Object
Méthodes8
init()
mmo-user-access.jhs:27draw()
mmo-user-access.jhs:54Show what fits the account: a choice for a new one, the actions for one saved
choose(how)
mmo-user-access.jhs:80A new account: invited ($how invite, no password sent) or given one (password, the slotted field)
| how |
url(route)
mmo-user-access.jhs:91| route | ||
| retourne | string | the url of $route for the account |
call(route)
asyncmmo-user-access.jhs:97| route | ||
| retourne | Promise<Object> | the answer's data; its meta.error.message thrown |
invite()
asyncmmo-user-access.jhs:106Mail the account a link to choose its password: the link shows when the mail cannot leave
act(route, question, detail)
asyncmmo-user-access.jhs:120Do $route to the account, once confirmed
| route | ||
| question | ||
| detail |
copyLink()
mmo-user-access.jhs:130Slots1
password
mmo-user-access.jhs<slot name="password">