mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-26 13:48:53 +08:00
25 lines
351 B
Protocol Buffer
25 lines
351 B
Protocol Buffer
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;
|
|
}
|