Static ReadonlyANOTHER_Static ReadonlyANOTHER_Static ReadonlyATTRIBUTEStatic ReadonlyCHANNELStatic ReadonlyMESSAGEStatic ReadonlyPATHStaticactionThe account action a click is on: a control carrying
data-account-action, the target or one of its parents.
the click's target
{ action, key }, or null
StaticannouncedWhether the shell this page was drawn from says several accounts are on
in its realm: <html data-sts-accounts="on">. Without it the list is
never asked for.
the browser's objects; its document is read
whether the attribute says on
StaticanotherThe address a sign-in as another account starts from: the user portal, asked to sign in again.
the list, whose anotherAccount is the portal's address
where the service named it (another listener, #472)
the address; root-relative where the list named none, so the page's realm rewrite prefixes it
StaticbyThe live account a key is, in a list.
the list
the account's key
the account, or null
StaticbyThe live account a subject is, in a list.
the list
the subject
the account, or null
StaticchangedWhether two lists say different things.
the list in hand, or null
the list just read
whether they differ (never, where there was none before)
StaticcontrolDraws the control a public surface carries: the signed-in accounts and Sign in with another account. Nothing where the list is off or holds no signed-in account.
the list
the page's translator (the accounts namespace loaded)
the control's markup, or ''
StaticescEscapes text for HTML.
anything
the escaped text
StaticfetchFetches the browser's accounts from this page's own origin.
the browser's objects: fetch, location
the realm's path prefix
the list, or OFF where it could not be read or is off
StaticfingerprintWhat a list says, as one string: two lists with the same accounts in the same states are the same, whatever order they came in.
the list
its fingerprint
StaticliveThe signed-in accounts of a list.
the list
the accounts whose state is signed-in
StaticnameThe name to show for an account.
the account
its display name, its username, or its subject
StaticoffThe list as OFF: what every page that could not read it draws from.
{ enabled: false, accounts: [] }
StaticopenOpens the change signal: onChange is called for every message of
this kind, and post() announces a change.
the browser's objects: window.BroadcastChannel
what a message makes this page do
{ post(change), close() }; both do nothing where the
browser has no channel
A browser's accounts: reading the list, the change signal, the control. A static utility class; it holds no state.