aboutsummaryrefslogtreecommitdiff
path: root/src/ext_packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_packet.h')
-rw-r--r--src/ext_packet.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ext_packet.h b/src/ext_packet.h
index c6c77c4..2697217 100644
--- a/src/ext_packet.h
+++ b/src/ext_packet.h
@@ -28,12 +28,18 @@ struct Ident
quint8 version;
};
+enum class CertVariant
+{
+ software,
+ hardware,
+};
+
struct AuthRequest
{
QString username;
AuthMethod method;
- // Will be replaced if passwords are implemented.
- QByteArray credentials;
+ // Added as an extension. To be reimplemented in version 3.
+ CertVariant variant;
};
struct AuthChallenge