From 7d14d2d37e40ba0dd700e346b43a76d580ddd7da Mon Sep 17 00:00:00 2001 From: Gregor Reitzenstein Date: Sat, 28 Aug 2021 20:39:17 +0200 Subject: [PATCH] Adds calls to retrieve information to be written to cards --- user.capnp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/user.capnp b/user.capnp index 1a951ec..31eb3f4 100644 --- a/user.capnp +++ b/user.capnp @@ -32,6 +32,7 @@ struct User info @3 :Info; interface Info $CSharp.name("InfoInterface") { getUserInfoExtended @0 () -> ( userInfoExtended :UserInfoExtended ); + listRoles @1 () -> ( roles :List(Role) ); } manage @4 :Manage; @@ -112,5 +113,15 @@ struct User unbind @3 ( token :Data ) -> (); # Unbind the key associated with the given token. This will fail all future attempts to use # the card with the associated key. + + + getMetaInfo @4 () -> ( bytes :Data ); + # Retrieve the blob for File 0001 from the server. The returned bytes are in the correct + # format to be written to the card as-is. + + getSpaceInfo @5 () -> ( bytes :Data ); + # Retrieve the blob for File 0002 from the server. The returned bytes are in the correct + # format to be written to the card as-is, but a client MAY add or change some information + # contained. } }