class Ably::Models::TokenRequest

Contains the properties of a request for a token to Ably. Tokens are generated using {Ably::Auth#requestToken}.

Ruby {ruby-doc.org/core/Time.html Time} objects are supported in place of Ably ms since epoch time fields. However, if a numeric is provided it must always be expressed in milliseconds as the Ably API always uses milliseconds for time fields.