SDK reference / Models / Messaging
RealtimeConnectionToken
Kind: class
Namespace: Egulu.Sdk.Models.Messaging
A connection token and a subscription token for one channel, returned once (W142; ADR-0902: never to an agent). Both are ES256 JWTs therealtime server verifies itself; nothing is stored, so a token cannot be revoked before it expires.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Channel | string? | channel | The channel's name on the realtime server, to subscribe to. |
ClientId | string? | clientId | The client label. |
ConnectionToken | string? | connectionToken | The connection token (`connect.token` of Centrifugo's protocol). |
Endpoint | string? | endpoint | The WebSocket URL to connect to. |
ExpiresAt | DateTimeOffset? | expiresAt | When the server stops accepting them (UTC). |
IssuedAt | DateTimeOffset? | issuedAt | When the tokens were issued (UTC). |
RealtimeChannel | string? | realtimeChannel | The realtime channel's resource name. |
SubscriptionToken | string? | subscriptionToken | The subscription token of this channel (`subscribe.token`). |
TtlSeconds | int? | ttlSeconds | Lifetime in seconds. |
User | string? | user | The connection's user on the server: the project, the same for every client of the project. |