Component evidence

Client Token Claims Types (types/ClientTokenClaims.ts)

vonage-node-sdk · packages/video/lib/types/ClientTokenClaims.ts · typescript · Apache-2.0
authfileslang:typescripttag:vonagetag:claims

TypeScript interface defining the claims, scopes, and ACLs for Vonage client tokens. Reuse when handling Vonage video SDK authentication and session permissions.

Source preview first 800 characters · full source over MCP
// 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)