Local askpass fixes

This commit is contained in:
crschnick
2023-03-07 22:36:02 +00:00
parent 56048bd5e3
commit 872406fc4c
7 changed files with 90 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
package io.xpipe.beacon.exchange;
import io.xpipe.beacon.RequestMessage;
import io.xpipe.beacon.ResponseMessage;
import lombok.Builder;
import lombok.NonNull;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;
public class AskpassExchange implements MessageExchange {
@Override
public String getId() {
return "askpass";
}
@Jacksonized
@Builder
@Value
public static class Request implements RequestMessage {
@NonNull
String id;
String prompt;
}
@Jacksonized
@Builder
@Value
public static class Response implements ResponseMessage {
String value;
}
}

View File

@@ -68,6 +68,7 @@ module io.xpipe.beacon {
WritePreparationExchange,
ProxyReadConnectionExchange,
WriteExecuteExchange,
AskpassExchange,
SelectExchange,
ReadExchange,
QueryTextDataExchange,