AccountState
Experimental
The one account payload shape: the account/read result and the
account/changed params. Closed vocabulary; label and avatarUrl are display values that never carry key
material and are omitted, never null, when absent.
Fields and variants
Section titled “Fields and variants”avatarUrl— ExperimentalcredentialRequired— Experimentallabel— Experimentalstate— Experimental
Source
schema/msp/experimental/msp.schema.json#/types/AccountState
{ "description": "The one account payload shape: the `account/read` result and the\n`account/changed` params. Closed vocabulary; `label` and `avatarUrl` are display values that never carry key\nmaterial and are omitted, never `null`, when absent.", "properties": { "avatarUrl": { "description": "Optional display-only HTTPS avatar URL for the winning account-login\nidentity (ADR 28091 D8). Omitted for every other lane and on absence.", "type": "string" }, "credentialRequired": { "description": "`false` exactly when the effective provider endpoint needs no caller\ncredential, so those clients\nnever nag the user to sign in.", "type": "boolean" }, "label": { "description": "Optional display label for the credential in effect (for example the\naccount identity for `accountLogin`); never key material.", "type": "string" }, "state": { "$ref": "#/$defs/AccountStateKind", "description": "Which credential lane is in effect." } }, "required": [ "credentialRequired", "state" ], "type": "object", "x-msp-descriptor": "account/read", "x-msp-stability": "experimental"}