Package tigase.util

# Class Token

java.lang.Object
tigase.util.Token

public class Token extends Object
Created by bmalkow on 21.04.2017.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Token()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Token`
  `create(BareJID jid)`
  `static Token`
  `create(BareJID jid, Date timestamp, String random)`
  `protected byte[]`
  `getBuff()`
  `String`
  `getEncoded()`
  `String`
  `getHash()`
  `BareJID`
  `getJid()`
  `String`
  `getRandom()`
  `Date`
  `getTimestamp()`
  `static Token`
  `parse(String encodedToken)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Token

    public Token()

- ## Method Details

  - ### create

    public static Token create(BareJID jid)

  - ### create

    public static Token create(BareJID jid, Date timestamp, String random)

  - ### parse

    public static Token parse(String encodedToken)

  - ### getEncoded

    public String getEncoded()

  - ### getHash

    public String getHash()

  - ### getJid

    public BareJID getJid()

  - ### getRandom

    public String getRandom()

  - ### getTimestamp

    public Date getTimestamp()

  - ### getBuff

    protected byte[] getBuff()