OdinToken
Class to handle ODIN tokens.
A room token is a JWT given to clients that allows them to connect to a chat room in the ODIN network.
Properties
rawValue
The underlying JWT as a string.
userId
The user ID that was encoded in the token.
roomId
The room ID that was encoded in the token.
Methods
init(_:)
Initializes a new token instance using a specified JWT string.