Skip to main content

Token

This file contains the data format of the token used to load the Inworld scene.

Classes

Token

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
tokenThe actual token.
typeThe type of the token.
expirationTimeThe expiration time of the token.
sessionIdThe session ID used to start the session.
PropertiesDescription
IsValidIndicates whether the token has expired.
ToPacketGenerate the SessionControlPacket to send to the Inworld server.

AccessTokenRequest

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
api_keyThe API key used to obtain the token.
resource_idThe full name of the workspace.

SessionConfiguration

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
gameSessionIdThe nullable session ID to send and to receive Session Continuations.

SessionControlEvent

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
sessionConfigurationThe SessionConfiguration to send to the Inworld server.

SessionControlPacket

Module: Inworld.AI. Namespace: Inworld.Entities. Inherited from InworldPacket

VariablesDescription
sessionControlThe SessionControlPacket to send to server.
PropertiesDescription
ToJsonGenerates the string of json to send to the Inworld server.