Class CreateChatTokenResponse

    • Method Detail

      • token

        public final String token()

        The issued client token, encrypted.

        Returns:
        The issued client token, encrypted.
      • tokenExpirationTime

        public final Instant tokenExpirationTime()

        Time after which the token is no longer valid and cannot be used to connect to a room. This is an ISO 8601 timestamp; note that this is returned as a string.

        Returns:
        Time after which the token is no longer valid and cannot be used to connect to a room. This is an ISO 8601 timestamp; note that this is returned as a string.
      • sessionExpirationTime

        public final Instant sessionExpirationTime()

        Time after which an end user's session is no longer valid. This is an ISO 8601 timestamp; note that this is returned as a string.

        Returns:
        Time after which an end user's session is no longer valid. This is an ISO 8601 timestamp; note that this is returned as a string.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object