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 and Description
    `Token()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### Token

          public Token()

  - ### Method Detail

    - #### 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()

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.