@dialstack/sdk / server / UserSessionCreateResponse
Interface: UserSessionCreateResponse
Defined in: sdk/src/server/index.ts:241
Response from dialstack.userSessions.create().
user and account echo the identifiers the token was minted for, so
callers can log/track them without decoding the JWT body. Matches the
shape of dialstack.accountSessions.create() which returns account_id.
client_secret is the signed JWT to hand to the client. Use it as the
Bearer token when connecting to the WebRTC signalling WebSocket and
when calling /v1/me/* REST endpoints.
Properties
account
account: string;
Defined in: sdk/src/server/index.ts:243
client_secret
client_secret: string;
Defined in: sdk/src/server/index.ts:244
expires_at
expires_at: string;
Defined in: sdk/src/server/index.ts:245
user
user: string;
Defined in: sdk/src/server/index.ts:242