Skip to main content

OdinTokenOptions

Options for generating an ODIN room token.

Declaration
typedef struct OdinTokenOptions {   
const char *customer;
enum OdinTokenAudience audience;
uint64_t lifetime;
} OdinTokenOptions;

Fields

customer

Customer identifier (you should NOT set this unless connecting directly to an ODIN server directly)

Declaration
const char *customer;

audience

Audience of the token

Declaration
enum OdinTokenAudience audience;

lifetime

Token lifetime in seconds

Declaration
uint64_t lifetime;