From d23a2f602a3e59497053edf2e17b32be96ce2d43 Mon Sep 17 00:00:00 2001 From: Pedro Sanders Date: Sat, 25 Nov 2023 12:31:12 -0500 Subject: [PATCH] fix: update SDK's README to match implementation --- mods/sdk/README.md | 10 ++++++---- site/index.html | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/mods/sdk/README.md b/mods/sdk/README.md index 7c787b3..c50f5dd 100644 --- a/mods/sdk/README.md +++ b/mods/sdk/README.md @@ -340,15 +340,17 @@ Does not require authentication. The token will be issued only if the workspace | --- | --- | --- | | request | CreateAnonymousTokenInput | A request with claims required to create a token | | request.ref | string | A reference for the anonymous user | -| request.aor | string | The address of record (AOR) for the user | -| request.aorLink | string | The address of record (AOR) for the user | +| request.workspaceId | string | The workspace ID | +| request.metadata | string | Custom metadata to be included in the token | **Example** ```js const request = { ref: "myref", - aor: "anonymous@sip.goodtok.io", - aorLink: "anonymous@sip.goodtok.io" + workspaceId: "g-1234567890", + metadata: { + customField: "customValue" + } } tokens.createAnonymousToken(request) diff --git a/site/index.html b/site/index.html index f8fa487..91a1b79 100644 --- a/site/index.html +++ b/site/index.html @@ -505,6 +505,7 @@

Simple, straight-forward pricing.

  • 1 Team
  • Unlimited Calls
  • 30-Day Log Retention
  • +
  • Single Sign-On (coming soon)
  • Email Support
  • @@ -532,7 +533,6 @@

    Simple, straight-forward pricing.

  • 99.99% Uptime SLA
  • Volume commitment pricing
  • Dedicated onboarding and engineering support
  • -
  • Single Sign-On (coming soon)
  • Customer Success Manager