Function createSessionToken

  • Create session token The token is expected to be used by the node's client This uses the HMAC with SHA-256 JWT It is signed with a symmetric key It is deterministic

    Parameters

    • payload: TokenPayload
    • key: Key
    • Optional expiry: number

      Seconds from now or infinite

    Returns Promise<SessionToken>

Generated using TypeDoc