WebChannelPasswordChange

data class WebChannelPasswordChange(val jsonPayload: String) : FxaEvent

An fxaccounts:change_password WebChannel message arrived on the device that just changed its password. json_payload is the data object of that message and contains the new session token. The state machine swaps the session token for a new refresh token and re-initialises the device record.

This event is valid for the Connected and AuthIssues states. In Authenticating it is a no-op so the in-progress OAuth flow is not disrupted.

Constructors

Link copied to clipboard
constructor(jsonPayload: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard