mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-14 21:03:46 +02:00
19 lines
No EOL
286 B
Protocol Buffer
19 lines
No EOL
286 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package auth;
|
|
|
|
option go_package = "./auth";
|
|
|
|
message UserPass {
|
|
string username = 1;
|
|
string password = 2;
|
|
}
|
|
|
|
message AuthResponse {
|
|
bool authenticated = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
service Authenticate {
|
|
rpc Authenticate (UserPass) returns (AuthResponse) {}
|
|
} |