Closed
Bug 915453
Opened 11 years ago
Closed 11 years ago
FxAccounts should send notification to observers on user authentication changes
Categories
(Firefox :: Sync, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 909967
People
(Reporter: zaach, Assigned: zaach)
References
()
Details
(Whiteboard: [qa?])
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
When a user sings in/creates an account, or signs out, we should emit an assertion changed notification for observers.
Assignee | ||
Updated•11 years ago
|
Summary: FxAccounts should send notification to observers on assertion changes → FxAccounts should send notification to observers on user authentication changes
Assignee | ||
Comment 1•11 years ago
|
||
Updated the title to be less specific. We can simply emit an "auth status changed" notification. The data may include new user credentials, or the observer can use the fxaccounts service to get the user's current session status.
Updated•11 years ago
|
Whiteboard: [qa?]
Assignee | ||
Comment 2•11 years ago
|
||
We notify observers when the signed-in user's credentials change. Topic is "fxaccounts:auth:change" and the data is stringified account credentials.
Attachment #804023 -
Flags: feedback?(spenrose)
Updated•11 years ago
|
Updated•11 years ago
|
Comment 3•11 years ago
|
||
Can we close this one out?
Comment 4•11 years ago
|
||
No, we'll want this.
Updated•11 years ago
|
Attachment #804023 -
Flags: feedback?(spenrose)
Comment 5•11 years ago
|
||
FxAccounts.jsm currently notifies two events: fxaccounts:onlogout and fxaccounts:onlogin. This was added in bug 909967, which has landed in m-c. We can open additional bugs if we need to refine this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•