lnd.xprv/macaroons
Alex 21c29c33d7 multi: upgrade macaroons to v2, replace per-method auth with interceptors
This commit reworks the macaroon authentication framework to use the
v2 macaroon format and bakery API. It also replaces the code in each
RPC method which calls the macaroon verifier with interceptors which
call the macaroon verifier instead. In addition, the operation
permissions are reworked to fit the new format of "allow" commands
(specifically, entity/operation permissions instead of method
permissions).
2018-01-31 17:14:49 -08:00
..
auth.go multi: upgrade macaroons to v2, replace per-method auth with interceptors 2018-01-31 17:14:49 -08:00
constraints.go multi: upgrade macaroons to v2, replace per-method auth with interceptors 2018-01-31 17:14:49 -08:00
service.go multi: upgrade macaroons to v2, replace per-method auth with interceptors 2018-01-31 17:14:49 -08:00
store.go multi: upgrade macaroons to v2, replace per-method auth with interceptors 2018-01-31 17:14:49 -08:00