Interface AccessTokenOptions

interface AccessTokenOptions {
    identity?: string;
    metadata?: string;
    name?: string;
    ttl?: string | number;
}

Properties

identity?: string

identity of the user, required for room join tokens

metadata?: string

custom metadata to be passed to participants

name?: string

display name for the participant, available as Participant.name

ttl?: string | number

amount of time before expiration expressed in seconds or a string describing a time span zeit/ms. eg: '2 days', '10h', or seconds as numeric value

Generated using TypeDoc