From efa1b409cdd22b0b75bd75ecf9f7caff1f2c7d94 Mon Sep 17 00:00:00 2001 From: Nils Schwabe Date: Thu, 10 Jul 2014 16:23:52 +0200 Subject: [Thrift] Add method for server to check if he is authenticated --- src/main/thrift/imagemaster.thrift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/thrift') diff --git a/src/main/thrift/imagemaster.thrift b/src/main/thrift/imagemaster.thrift index 8d219d8..bfeae37 100644 --- a/src/main/thrift/imagemaster.thrift +++ b/src/main/thrift/imagemaster.thrift @@ -125,11 +125,12 @@ service ImageServer { string startServerAuthentication(1:string organization) throws (1: ServerAuthenticationException failure), + bool isServerAuthenticated(1:string serverSessionId), + ServerSessionData serverAuthenticate(1:string organization, 2:binary challengeResponse) throws (1:ServerAuthenticationException failure), UploadInfos submitImage(1:string serverSessionId, 2:ImageData imageDescription, 3:list crcSums) throws (1:AuthorizationException failure, 2: ImageDataException failure2, 3: UploadException failure3), DownloadInfos getImage(1:UUID uuid, 2:string serverSessionId, 3:list requestedBlocks) throws (1:AuthorizationException failure, 2: ImageDataException failure2), -} - +} \ No newline at end of file -- cgit v1.2.3-55-g7522