mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-28 16:10:27 +08:00
TUN-3085: Pass connection authentication information using TunnelAuth struct
This commit is contained in:
committed by
Adam Chalmers
parent
448a7798f7
commit
8f75feac94
@@ -121,8 +121,13 @@ struct ConnectionDetails {
|
||||
locationName @1 :Text;
|
||||
}
|
||||
|
||||
struct TunnelAuth {
|
||||
accountTag @0 :Text;
|
||||
tunnelSecret @1 :Data;
|
||||
}
|
||||
|
||||
interface RegistrationServer {
|
||||
registerConnection @0 (auth :Data, tunnelId :Data, connIndex :UInt8, options :ConnectionOptions) -> (result :ConnectionResponse);
|
||||
registerConnection @0 (auth :TunnelAuth, tunnelId :Data, connIndex :UInt8, options :ConnectionOptions) -> (result :ConnectionResponse);
|
||||
unregisterConnection @1 () -> ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user