mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-22 23:49:09 -04:00
Local askpass fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -68,6 +68,7 @@ module io.xpipe.beacon {
|
||||
WritePreparationExchange,
|
||||
ProxyReadConnectionExchange,
|
||||
WriteExecuteExchange,
|
||||
AskpassExchange,
|
||||
SelectExchange,
|
||||
ReadExchange,
|
||||
QueryTextDataExchange,
|
||||
|
||||
Reference in New Issue
Block a user