Merge lp://staging/~roadmr/canonical-identity-provider/bulk-caveat-id-macaroon-discharge into lp://staging/canonical-identity-provider/release

Proposed by Daniel Manrique
Status: Work in progress
Proposed branch: lp://staging/~roadmr/canonical-identity-provider/bulk-caveat-id-macaroon-discharge
Merge into: lp://staging/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://staging/~roadmr/canonical-identity-provider/bulk-caveat-id-macaroon-discharge
Reviewer Review Type Date Requested Status
Ubuntu One hackers Pending
Review via email: mp+336506@code.staging.launchpad.net

Description of the change

lalala

To post a comment you must log in.
1593. By Daniel Manrique

Test for mixed caveat_ids: a good one and a bogus, corrupty one

1594. By Daniel Manrique

Small simplification of test

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.

1596. By Daniel Manrique

Ahh, so that's what simple_macaroon is for

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 MacaroonDischargeHandler.

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.