Merge lp:~mandel/ubuntu-system-settings/invalidate-credentials into lp:ubuntu-system-settings
Proposed by
Manuel de la Peña
Status: | Work in progress |
---|---|
Proposed branch: | lp:~mandel/ubuntu-system-settings/invalidate-credentials |
Merge into: | lp:ubuntu-system-settings |
Prerequisite: | lp:~ken-vandine/ubuntu-system-settings/emit_credentials_deleted |
Diff against target: |
24 lines (+9/-5) 1 file modified
plugins/system-update/update_manager.cpp (+9/-5) |
To merge this branch: | bzr merge lp:~mandel/ubuntu-system-settings/invalidate-credentials |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Needs Fixing | |
dobey (community) | Disapprove | ||
Ubuntu Touch System Settings | Pending | ||
Review via email: mp+269092@code.launchpad.net |
Commit message
Invalidate creds in the sso service when they are not valid.
Description of the change
Even when we find creds in the system, they ight be invalid. This branch ensure that it they are not the system invalidates them and we are requested to log before even looking for updates.
To post a comment you must log in.
Unmerged revisions
- 1512. By Manuel de la Peña
-
Readd wrongly deleted line.
- 1511. By Manuel de la Peña
-
Invalidate credentials if they are found yet not valid.
This is wrong.
The isValid() method on the Token object does not validate the token against the server. It only validates that the token object has all the data fields necessary to sign a request. Any token you get in the signal as a result of the request to get the credentials, from libubuntuoneauth, will be valid in that sense.