summaryrefslogtreecommitdiff
path: root/terminology.md
diff options
context:
space:
mode:
Diffstat (limited to 'terminology.md')
-rw-r--r--terminology.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/terminology.md b/terminology.md
index b4332c2..d4cbe91 100644
--- a/terminology.md
+++ b/terminology.md
@@ -15,3 +15,9 @@ Frequency ID
Chat ID - A snowflake ID that refers to either a frequency ID or a receiver ID
Signal - A currently open chat between 2 individual users ("DM")
+
+Session - A struct that helps with managing a single active connection, it contains the addr of the connection and has methods for reading/writing to the connection
+
+Unauthenticated Session - A session that has not yet been authenticated, so it doesn't have a User ID or public key yet, and has not been added to the server sessions map
+
+Authenticated Session - A session that is authenticated and attached to a user, it has a UserID and a public key and it has been mapped into the server's session map based on it's user ID.