Passport/pkg/proto/third_client.proto

28 lines
498 B
Protocol Buffer

syntax = "proto3";
option go_package = ".;proto";
package proto;
service ThirdClientService {
rpc GetThirdClient(GetThirdClientRequest) returns (GetThirdClientResponse) {}
}
message ThirdClientInfo {
uint64 id = 1;
string alias = 2;
string name = 3;
string description = 4;
bool is_draft = 5;
optional uint64 account_id = 6;
}
message GetThirdClientRequest {
uint64 client_id = 1;
optional string secret = 2;
}
message GetThirdClientResponse {
ThirdClientInfo info = 1;
}