Token Negotiator
  • Introduction
  • Quick Start
    • Getting Started with NFT's
    • Getting Started with Fungible Tokens
    • Getting Started with Off Chain Tokens
  • Learn
    • Installation
    • Supported Chains
    • Supported Wallets
    • Supported Attestations
    • Event Hooks
    • Issuer Configurations
      • Issuer Configuration EVM
      • Issuer Configuration Solana
      • Issuer Configuration Flow
      • Issuer Configuration Ultra
      • Issuer Configuration Socios
      • Issuer Configuration Off Chain
    • Active Negotiation (UI)
      • Custom Views
      • View Navigation
      • Theme
      • Configuration Options
    • Passive Negotiation (no UI)
      • Wallet Connection
    • Token Authentication
      • Off Chain Authentication
      • On Chain Token Authentication (evm)
    • Smart Contract and wallet Interaction
      • Sign message
    • Off Chain Token Issuers
  • Reference
  • Articles
  • Videos
  • Showcase
  • Contribution
  • Support
  • Migrating from version 2x to 3x
  • Github Examples
Powered by GitBook
On this page
  1. Learn
  2. Token Authentication

Off Chain Authentication

Authenticating ownership of off chain Token

Offchain tokens can be authenticated with an identifier attestation ID (e.g. a user email). Token Negotiator utilises an additional technology, attestation.id to fully authenticate tokens with this information.

Authenticating ownership of a single token, providing a proof with a limited expiry.

/**
 * @param {Object} unsignedToken token to attest
 */
negotiator.authenticate({
	unsignedToken
});

negotiator.on("proof", () => {
	// the proof will be received here (valid or failed)
});

Authenticating ownership of a list of tokens, providing a list of proofs with limited expiry.

/**
 * @param {object} selected unsigned token(s) to attest
 */
negotiator.authenticate([{
	unsignedToken
}, {
        issuer, // optional
	unsignedToken,
}]);

negotiator.on("proof", () => {
	// list of proofs will be received here (valid or failed)
});

PreviousToken AuthenticationNextOn Chain Token Authentication (evm)

Last updated 1 year ago

For support and any questions please reach out to us on or via sayhi@smarttokenlabs.com

discord