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. } }