mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-11 11:37:03 +02:00
Add gRPC service definitions for managing auth requests: AuthRegister to register interactive auth sessions and AuthApprove/AuthReject to approve or deny pending requests (used for SSH check mode). Updates #1850
27 lines
434 B
Protocol Buffer
27 lines
434 B
Protocol Buffer
syntax = "proto3";
|
|
package headscale.v1;
|
|
option go_package = "github.com/juanfont/headscale/gen/go/v1";
|
|
|
|
import "headscale/v1/node.proto";
|
|
|
|
message AuthRegisterRequest {
|
|
string user = 1;
|
|
string auth_id = 2;
|
|
}
|
|
|
|
message AuthRegisterResponse {
|
|
Node node = 1;
|
|
}
|
|
|
|
message AuthApproveRequest {
|
|
string auth_id = 1;
|
|
}
|
|
|
|
message AuthApproveResponse {}
|
|
|
|
message AuthRejectRequest {
|
|
string auth_id = 1;
|
|
}
|
|
|
|
message AuthRejectResponse {}
|