Skip to content

Commit

Permalink
Merge pull request #20 from DefGuard/config-polling
Browse files Browse the repository at this point in the history
Config polling
  • Loading branch information
j-chmielewski authored Sep 6, 2024
2 parents 1b8f7c5 + 57654ba commit d069a0e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions core/proxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ message DeviceConfigResponse {
Device device = 1;
repeated DeviceConfig configs = 2;
InstanceInfo instance = 3;
// polling token used for further client-core communication
optional string token = 4;
}

message InstanceInfoRequest {
string token = 1;
}

message InstanceInfoResponse {
DeviceConfigResponse device_config = 1;
}

message ExistingDevice {
Expand Down Expand Up @@ -165,6 +175,7 @@ message CoreResponse {
ClientMfaStartResponse client_mfa_start = 6;
ClientMfaFinishResponse client_mfa_finish = 7;
CoreError core_error = 8;
InstanceInfoResponse instance_info = 9;
}
}

Expand All @@ -184,6 +195,7 @@ message CoreRequest {
PasswordResetRequest password_reset = 9;
ClientMfaStartRequest client_mfa_start = 10;
ClientMfaFinishRequest client_mfa_finish = 11;
InstanceInfoRequest instance_info = 12;
}
}

Expand Down

0 comments on commit d069a0e

Please sign in to comment.