TypeScript interface defining the claims, scopes, and ACLs for Vonage client tokens. Reuse when handling Vonage video SDK authentication and session permissions.
// Source: https://github.com/Vonage/vonage-node-sdk | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
* Interface representing claims for a client token.
*/
export type ClientTokenClaims = {
/**
* The scope of the token.
*/
scope: string;
/**
* The session ID associated with the token.
*/
session_id: string;
/**
* The role of the token.
*/
role: string;
/**
* The initial layout class list.
*/
initial_layout_class_list: string;
/**
* Additional data for the token (optional).
*/
data?: string;
/**
* The expiration time of the token (optional).
*/
exp?: number;
/**
* Connection data associated with the token
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key