Skip to main content
Module sessions
tuwunel_
service
1.6.2
Module sessions
Module Items
Modules
Structs
Constants
Type Aliases
In tuwunel_
service::
oauth
tuwunel_service
::
oauth
Module
sessions
Copy item path
Source
Modules
§
association
Structs
§
Data
🔒
Session
Session ultimately represents an OAuth authorization session yielding an associated matrix user registration. Maintains the state between authorization steps and the association to the matrix user until deactivation or revocation.
Sessions
Constants
§
CODE_
VERIFIER_
LENGTH
Number of characters generated for our code_verifier. The code_verifier is a random string which must be between 43 and 128 characters.
SESSION_
ID_
LENGTH
Number of characters we will generate for the Session ID.
Type Aliases
§
Session
Id
Session Identifier type.