~roadmr/canonical-identity-provider/bulk-caveat-id-macaroon-discharge

Viewing all changes in revision 1592.

  • Committer: Daniel Manrique
  • Date: 2018-01-23 22:28:05 UTC
  • Revision ID: roadmr@ubuntu.com-20180123222805-eu6vlqi3c3d5ojxd
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: