@veraid/kliento
    Preparing search index...

    Class Token

    Kliento token.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    audience: string

    The audience of the token.

    claims: ClaimSet = {}

    The claims of the token.

    Methods

    • Serialise the token.

      Returns ArrayBuffer

      The serialised token.

    • Deserialise a token.

      Parameters

      • serialisation: ArrayBuffer

        The serialised token.

      Returns Token

      The deserialised token.

      If the serialisation is malformed.