mirror of
https://github.com/juanfont/headscale.git
synced 2026-01-23 02:24:10 +00:00
auth: ensure machines are allowed in when pak change (#2917)
This commit is contained in:
parent
16d811b306
commit
3cf2d7195a
19 changed files with 695 additions and 118 deletions
|
|
@ -55,6 +55,13 @@ service HeadscaleService {
|
|||
};
|
||||
}
|
||||
|
||||
rpc DeletePreAuthKey(DeletePreAuthKeyRequest)
|
||||
returns (DeletePreAuthKeyResponse) {
|
||||
option (google.api.http) = {
|
||||
delete : "/api/v1/preauthkey"
|
||||
};
|
||||
}
|
||||
|
||||
rpc ListPreAuthKeys(ListPreAuthKeysRequest)
|
||||
returns (ListPreAuthKeysResponse) {
|
||||
option (google.api.http) = {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,13 @@ message ExpirePreAuthKeyRequest {
|
|||
|
||||
message ExpirePreAuthKeyResponse {}
|
||||
|
||||
message DeletePreAuthKeyRequest {
|
||||
uint64 user = 1;
|
||||
string key = 2;
|
||||
}
|
||||
|
||||
message DeletePreAuthKeyResponse {}
|
||||
|
||||
message ListPreAuthKeysRequest { uint64 user = 1; }
|
||||
|
||||
message ListPreAuthKeysResponse { repeated PreAuthKey pre_auth_keys = 1; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue