Developer Documentation

OdinClient.CreateToken

public static string CreateToken(string accesskey, string body)

Create a example token to join a room. For production use a token server!

Info

This is for testing and not intended for production. Access key should never be client side.

Parameters

NameTypeDescription
accesskeyStringKey to generate a token from
bodyStringtoken body

Returns

TypeDescription
Stringtoken string or empty