1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-26 13:48:53 +08:00
Mainflux.mainflux/internal.proto

26 lines
387 B
Protocol Buffer
Raw Normal View History

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