summaryrefslogtreecommitdiff
path: root/auth.go
diff options
context:
space:
mode:
authoranon5 <anon5clam@protonmail.com>2021-06-21 18:47:26 +0000
committeranon5 <anon5clam@protonmail.com>2021-06-21 18:47:26 +0000
commit425da65ed46061303604610bb539d6495b2b1f3f (patch)
tree10ae3e665132c369ce0207676321cef870679923 /auth.go
parent9f239d341ef46b656dda759020da87bdd0606344 (diff)
Add high-level protocol (de)serialization
Diffstat (limited to 'auth.go')
-rw-r--r--auth.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/auth.go b/auth.go
new file mode 100644
index 0000000..5c2df14
--- /dev/null
+++ b/auth.go
@@ -0,0 +1,9 @@
+package mt
+
+type AuthMethods uint32
+
+const (
+ LegacyPasswd AuthMethods = 1 << iota
+ SRP
+ FirstSRP
+)