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