From e2aa306ea15600bcd9e0849198807c888cbdb864 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 16 May 2019 22:10:05 +0200 Subject: [PATCH] add isLogged endpoint --- protos/services/authentication_service.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/protos/services/authentication_service.proto b/protos/services/authentication_service.proto index 34cc016..f4baaf4 100644 --- a/protos/services/authentication_service.proto +++ b/protos/services/authentication_service.proto @@ -17,4 +17,9 @@ service AuthenticationService { /// The client must send in the metadata the Authorization key with the token /// in the value rpc signout(google.protobuf.Empty) returns (google.protobuf.Empty); + + /// If the user is logged return Empty else throw GrpcError.unauthenticated + /// The client must send in the metadata the Authorization key with the token + /// in the value + rpc isLogged(google.protobuf.Empty) returns (google.protobuf.Empty); } \ No newline at end of file