Function verifyProfileToken

  • Verifies a profile token

    Returns

    • the verified, decoded profile token

    Throws

    • throws an error if token verification fails

    Parameters

    • token: string

      the token to be verified

    • publicKeyOrAddress: string

      the public key or address of the keypair that is thought to have signed the token

    Returns TokenInterface

Generated using TypeDoc