1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-02 22:17:10 +08:00
Mainflux.mainflux/internal.proto

25 lines
351 B
Protocol Buffer
Raw Normal View History

2018-05-10 23:53:25 +02: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;
}