Skip to content
Developer Preview

account/loginCompleted

Experimental

A login flow reached a terminal outcome (granted, denied, expired, cancelled, or failed); a granted flow’s account/changed follows. Never carries the device-code artifacts or any key material.

Type: AccountLoginCompletedParams

account/loginCompleted params: exactly {outcome, message?}. message is a display string from the typed error vocabulary — never key material, store content, or an echo of the raw params.

Field Type Stability Presence Description
message string Experimental optional Optional display message.
outcome AccountLoginOutcome Experimental required How the flow ended.
Source

schema/msp/experimental/msp.schema.json#/notifications/account~2FloginCompleted

{
"description": "A login flow reached a terminal outcome (granted, denied, expired, cancelled, or failed); a granted flow's account/changed follows. Never carries the device-code artifacts or any key material.",
"params": {
"$ref": "#/$defs/AccountLoginCompletedParams"
},
"x-msp-descriptor": "account/loginCompleted",
"x-msp-stability": "experimental"
}