Expand description
Making and managing invites from an app: the client protocol’s
admin requests CreateInvite, ListInvites and RevokeInvite. These
are the same invites, with the same limits, as the web UI makes; the
web UI and the apps 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.