summaryrefslogtreecommitdiff
path: root/terminology.md
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-07-05 19:50:13 +0300
committerKyren223 <Kyren223@proton.me>2025-07-05 19:50:13 +0300
commit94ccbc282baf45d0f2e19ab127b38c71668b650f (patch)
tree3320d928e29edb565a83f56bfc85de80ecac3445 /terminology.md
parent317bc967e64576744dbc4cda4ba5e34131187097 (diff)
Refactored server connection handling, still missing TOS and auth
handling
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.