TBR playground: Move security.Call out of context.T.

This is a companion to the following sequence of changes:
https://vanadium-review.googlesource.com/#/q/topic:ctx_call

Again the purpose is to make our usage of context.T more
consistent, and the JS code is being changed to do the same
thing.

The main change is to get rid of security.GetCall and
security.SetCall.  This means we need to pass security.Call
around explicitly when necessary; rpc.ServerCall includes a
Security() method which returns the security.Call.

Here are the new APIs (none of these included security.Call
before this CL):

Authorize(*context.t, security.Call) error
Grant(*context.T, security.Call) (security.Blessings, error)
Dischargeable(*context.T, security.Call) error
Caveat.Validate(*context.T, security.Call) error
security.RemoteBlessingNames(*context.T, security.Call)
security.LocalBlessingNames(*context.T, security.Call)

MultiPart: 6/7

Change-Id: Iddae58634728eef0e1c3793c4ba7060bcea43ea2
1 file changed
tree: 037b2846e8fa1be0379f5e22f7feaf672890c508
  1. client/
  2. go/
  3. pgbundle/
  4. .gitignore
  5. AUTHORS
  6. CONTRIBUTORS
  7. LICENSE
  8. PATENTS
  9. README.md
  10. VERSION
README.md

This repository contains the Vanadium project playground.