4 Commits

Author SHA1 Message Date
Nathan Musoke
eb92b86ce4 Store device_id in session
The device_id is needed by the client, but otherwise inaccessible (unless
provided to the server by the client).
This is analogous to how the user_id is currently stored for guests, but
will probably be more often used.  The device_id is needed to implement e2e
encryption.
2019-01-15 16:14:20 +01:00
Jimmy Cuadra
6d1c167efb Simplify Session and authenticate requests when required. 2017-07-08 23:43:15 -07:00
Victor Berger
bafc48292e Add support for authenticated endpoints. 2017-01-08 15:21:33 +01:00
Jimmy Cuadra
b1ba09a04d Start integrating with ruma-client-api. 2016-12-31 02:17:49 -08:00