Merge lp:~roadmr/canonical-identity-provider/bulk-caveat-id-macaroon-discharge into lp:canonical-identity-provider/release
Status: | Work in progress |
---|---|
Proposed branch: | lp:~roadmr/canonical-identity-provider/bulk-caveat-id-macaroon-discharge |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
185 lines (+127/-1) 3 files modified
docs/login.txt (+67/-0) src/api/v20/handlers.py (+17/-1) src/api/v20/tests/test_handlers.py (+43/-0) |
To merge this branch: | bzr merge lp:~roadmr/canonical-identity-provider/bulk-caveat-id-macaroon-discharge |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu One hackers | Pending | ||
Review via email: mp+336506@code.launchpad.net |
Description of the change
lalala
Unmerged revisions
- 1596. By Daniel Manrique
-
Ahh, so that's what simple_macaroon is for
- 1595. By Daniel Manrique
-
Documentation for the discharge endpoint explaining the single/multiple caveat_id flow.
Didn't document the old "root_macaroon(s)" API on purpose because it's deprecated and consumers
should NOT use it. - 1594. By Daniel Manrique
-
Small simplification of test
- 1593. By Daniel Manrique
-
Test for mixed caveat_ids: a good one and a bogus, corrupty one
- 1592. By Daniel Manrique
-
Allow sending multiple caveat_ids to MacaroonDischar
geHandler. The semantics are similar to the old macaroons parameter (contrast with
macaroon). A new payload parameter caveat_ids is supported, should receive
a list of lists/tuples with numeric_id/caveat_ id and should send back a
list of numeric_id/3rd_ party_discharge (or a nice error) for each. - 1591. By Daniel Manrique
-
Test for multiple 'good' caveat_id macaroon discharging