Class Token

java.lang.Object
org.knowm.xchange.dragonex.dto.Token

public class Token
extends Object
  • Field Details

    • expireTime

      public final long expireTime
      unix time in seconds
    • token

      public final String token
  • Constructor Details

    • Token

      public Token​(long expireTime, String token)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • valid

      public boolean valid()
      assume the token is expired 1 minute before the actual expiry