Merge lp:~mikemc/ubuntuone-credentials/slot-and-signal-improvements into lp:ubuntuone-credentials
Proposed by
Mike McCracken
Status: | Merged |
---|---|
Approved by: | dobey |
Approved revision: | 32 |
Merged at revision: | 28 |
Proposed branch: | lp:~mikemc/ubuntuone-credentials/slot-and-signal-improvements |
Merge into: | lp:ubuntuone-credentials |
Prerequisite: | lp:~mikemc/ubuntuone-credentials/remove-sso-api-subdir |
Diff against target: |
174 lines (+40/-25) 6 files modified
libubuntuoneauth/identityprovider.cpp (+9/-8) libubuntuoneauth/keyring.cpp (+1/-1) libubuntuoneauth/ssoservice.cpp (+20/-7) libubuntuoneauth/ssoservice.h (+6/-5) music-login/ssowizard.cpp (+3/-3) music-login/ssowizard.h (+1/-1) |
To merge this branch: | bzr merge lp:~mikemc/ubuntuone-credentials/slot-and-signal-improvements |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey (community) | Approve | ||
Review via email:
|
Commit message
Improvements to available slots and signals on ssoservice object.
Description of the change
Improvements to available slots and signals on ssoservice object.
- connect credentialsNotFound signal
- change credentialsStored signal to include token, and do not clear _pendingPing until after tokenStored signal, so clients can access new tokens created by login/register as well as old ones found in keyring
- rename slots to be clearer what they are connected to and avoid needing to use lots of synonyms
- also improve logging to make control flow obvious
To post a comment you must log in.
The fixes to code in music-login to deal with the signal/slots API changes in here, will need to be done in this branch as well, so we don't end up with a broken app in the interim.