Package tigase.util

## Class Token

- java.lang.Object
- - tigase.util.Token

-     public class Token
      extends java.lang.Object

  Created by bmalkow on 21.04.2017.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Token()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Token` | `create​(BareJID jid)` |
    `static Token` | `create​(BareJID jid, java.util.Date timestamp, java.lang.String random)` |
    `protected byte[]` | `getBuff()` |
    `java.lang.String` | `getEncoded()` |
    `java.lang.String` | `getHash()` |
    `BareJID` | `getJid()` |
    `java.lang.String` | `getRandom()` |
    `java.util.Date` | `getTimestamp()` |
    `static Token` | `parse​(java.lang.String encodedToken)` |

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

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

- - ### Constructor Detail

    - #### Token

          public Token()

  - ### Method Detail

    - #### create

          public static Token create​(BareJID jid)

    - #### create

          public static Token create​(BareJID jid,
                                     java.util.Date timestamp,
                                     java.lang.String random)

    - #### parse

          public static Token parse​(java.lang.String encodedToken)

    - #### getEncoded

          public java.lang.String getEncoded()

    - #### getHash

          public java.lang.String getHash()

    - #### getJid

          public BareJID getJid()

    - #### getRandom

          public java.lang.String getRandom()

    - #### getTimestamp

          public java.util.Date getTimestamp()

    - #### getBuff

          protected byte[] getBuff()