diff options
author | Tim Cooper <tim.cooper@layeh.com> | 2015-06-15 22:29:33 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-05-08 17:45:52 +0300 |
commit | 3fdd05401bdf2ce9bdea2dcff60744fd89fe2d0e (patch) | |
tree | 108044df1d9dc87c475c0ff4329f169f8a87682a /src/murmur/MurmurRPC.proto | |
parent | 3b44029e1a0b77d925766f74cf90ee61d979a6be (diff) |
grpc: implement DatabaseService.Verify
Diffstat (limited to 'src/murmur/MurmurRPC.proto')
-rw-r--r-- | src/murmur/MurmurRPC.proto | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/murmur/MurmurRPC.proto b/src/murmur/MurmurRPC.proto index 4a1cdc574..6070d76c9 100644 --- a/src/murmur/MurmurRPC.proto +++ b/src/murmur/MurmurRPC.proto @@ -463,9 +463,9 @@ message DatabaseUser { optional Server server = 1; } - message VerifyPassword { + message Verify { optional Server server = 1; - optional string username = 2; + optional string name = 2; optional string password = 3; } } @@ -481,7 +481,8 @@ service DatabaseService { rpc Register(DatabaseUser) returns(DatabaseUser); // Deregister deregisters the given user. rpc Deregister(DatabaseUser) returns(Void); - rpc VerifyPassword(DatabaseUser.VerifyPassword) returns(DatabaseUser); + // Verify verifies the that the given user-password pair is correct. + rpc Verify(DatabaseUser.Verify) returns(DatabaseUser); } message RedirectWhisperGroup { |