mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 06:41:51 +01:00
Adds calls to retrieve information to be written to cards
This commit is contained in:
parent
411685d7de
commit
7d14d2d37e
11
user.capnp
11
user.capnp
@ -32,6 +32,7 @@ struct User
|
|||||||
info @3 :Info;
|
info @3 :Info;
|
||||||
interface Info $CSharp.name("InfoInterface") {
|
interface Info $CSharp.name("InfoInterface") {
|
||||||
getUserInfoExtended @0 () -> ( userInfoExtended :UserInfoExtended );
|
getUserInfoExtended @0 () -> ( userInfoExtended :UserInfoExtended );
|
||||||
|
listRoles @1 () -> ( roles :List(Role) );
|
||||||
}
|
}
|
||||||
|
|
||||||
manage @4 :Manage;
|
manage @4 :Manage;
|
||||||
@ -112,5 +113,15 @@ struct User
|
|||||||
unbind @3 ( token :Data ) -> ();
|
unbind @3 ( token :Data ) -> ();
|
||||||
# Unbind the key associated with the given token. This will fail all future attempts to use
|
# Unbind the key associated with the given token. This will fail all future attempts to use
|
||||||
# the card with the associated key.
|
# 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.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user