MbAuth state captured at connect or subscribe time.
More...
#include <realtime_session.h>
MbAuth state captured at connect or subscribe time.
auth and verification mirror the shape produced by HTTP auth middleware. token is empty for guest sessions. expires_at is set for JWT-backed sessions.
◆ auth
| json mb::RealtimeAuthSnapshot::auth = json::object() |
◆ expires_at
| std::chrono::system_clock::time_point mb::RealtimeAuthSnapshot::expires_at {} |
◆ token
| std::string mb::RealtimeAuthSnapshot::token |
◆ verification
| json mb::RealtimeAuthSnapshot::verification = json::object() |
The documentation for this struct was generated from the following file: