Closed Bug 1102714 Opened 10 years ago Closed 6 years ago

Add a simple-prefs "password" type

Categories

(Add-on SDK Graveyard :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: KWierso, Unassigned, Mentored)

References

Details

I think it would be nice if the SDK had a way to store login credentials in the through an add-on's options dialog. I was reading in #jetpack tonight and an addon developer asked what the recommended way to store a username/password, since AMO editors rejected the addon for using simple-prefs to store a password, recommending instead that the login manager is used. The way to hook that in to an addon's simple-prefs options dialog is really convoluted, probably involving the "control" simple-pref type, which pops open an SDK panel with user/password fields and a "save" button, which then passes the credentials back to the main addon, which then has to make use of the "passwords" module to save the credentials in the correct way. (Probably also doing a message-passing in the other direction from the addon to the panel to pre-populate that panel's contents if a login is already stored...) It'd be nice if all of that could be self-contained in the simple-prefs option, letting a user enter a username and password into the options page, but they get stored in the login manager as a pair instead of being stored in preferences.
Mentor: evold
OS: Windows 8.1 → All
Priority: -- → P2
Hardware: x86_64 → All
Whiteboard: [good first bug]
Whiteboard: [good first bug]
Add-on SDK is no longer supported so resolving bugs as INCOMPLETE
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.