Expand description
Making and managing invites from an app (PX-44): the client protocol’s
admin requests CreateInvite, ListInvites and RevokeInvite, with
P6-01’s semantics, limits and store; the web UI’s inviteCreate and
the apps make the same invites and see each other’s.
Only an admin’s session may ask (AdminRequired otherwise), and only
for an account here (NotForPortableUsers for a portable guest).
Creating and revoking also need the admin to have confirmed it is them
recently, as the web UI’s admin changes do: a fresh ConfirmPassword
or passkey confirmation, else RecentSignInRequired. Listing does
not.
Structs§
- Create
Invite - An invite to make (
CreateInvite). EachNoneis the server’s default, as for the web UI’sinviteCreate: one use, 7 days, the consumer role. - Invite
Created - A new invite (
CreateInvite), with its code: shown this once. - Invite
Creator - Who made an invite.
- Invite
Summary - An invite as admins see it: never its code, which the server keeps only as a hash.
Enums§
- Invite
Kind - What redeeming an invite does.
- Invite
Origin - Where an invite was made.