From 63e74aacc04e9204c9512734c5b7d015b5e5aeb1 Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Thu, 23 Sep 2021 23:02:04 +0200 Subject: [PATCH] Improve Auth & Session --- authenticationsystem.capnp | 3 +++ connection.capnp | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/authenticationsystem.capnp b/authenticationsystem.capnp index 34713a6..e576ef0 100644 --- a/authenticationsystem.capnp +++ b/authenticationsystem.capnp @@ -88,6 +88,9 @@ struct Response { # was established by the SASL exchange. session @4 :Session; + # The session that was created. It grants access to all capabilities the connecting + # party has permissions for. + additionalData @5 :Data; # SASL may send additional data with the successful result. This MAY be a NULL-ptr or a # non-NULL list ptr of zero bytes which clients MUST pass to their SASL implementation diff --git a/connection.capnp b/connection.capnp index 3232fbd..a21bf5a 100644 --- a/connection.capnp +++ b/connection.capnp @@ -42,9 +42,7 @@ interface Bootstrap } struct Session { - me @0 :Text; - - machineSystem @1 : MachineSystem; - userSystem @2 : UserSystem; - permissionSystem @3 : PermissionSystem; + machineSystem @0 : MachineSystem; + userSystem @1 : UserSystem; + permissionSystem @2 : PermissionSystem; }