Mainflux.mainflux/internal.proto

25 lines
351 B
Protocol Buffer
Raw Normal View History

2018-05-11 05:53:25 +08:00
syntax = "proto3";
package mainflux;
service ClientsService {
rpc CanAccess(AccessReq) returns (Identity) {}
}
service UsersService {
rpc Identify(Token) returns (mainflux.Identity) {}
}
message AccessReq {
string token = 1;
string chanID = 2;
}
message Token {
string value = 1;
}
message Identity {
string value = 1;
}