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)
audience
Audience of the token
Declaration
enum OdinTokenAudience audience;
lifetime
Token lifetime in seconds