diff options
author | Nils Schwabe | 2014-07-10 16:23:52 +0200 |
---|---|---|
committer | Nils Schwabe | 2014-07-10 16:23:52 +0200 |
commit | efa1b409cdd22b0b75bd75ecf9f7caff1f2c7d94 (patch) | |
tree | 2d19d22b7ca7ae17a1cb7a19dbfd0f14b25c603f /src/main/thrift | |
parent | Removed unnessecary TODOs and comments. (diff) | |
download | master-sync-shared-efa1b409cdd22b0b75bd75ecf9f7caff1f2c7d94.tar.gz master-sync-shared-efa1b409cdd22b0b75bd75ecf9f7caff1f2c7d94.tar.xz master-sync-shared-efa1b409cdd22b0b75bd75ecf9f7caff1f2c7d94.zip |
[Thrift] Add method for server to check if he is authenticated
Diffstat (limited to 'src/main/thrift')
-rw-r--r-- | src/main/thrift/imagemaster.thrift | 5 |
1 files changed, 3 insertions, 2 deletions
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<i32> crcSums) throws (1:AuthorizationException failure, 2: ImageDataException failure2, 3: UploadException failure3), DownloadInfos getImage(1:UUID uuid, 2:string serverSessionId, 3:list<i32> requestedBlocks) throws (1:AuthorizationException failure, 2: ImageDataException failure2), -} - +}
\ No newline at end of file |