Skip to content

Commit

Permalink
fix: update SDK's README to match implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Nov 25, 2023
1 parent c088ddb commit d23a2f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions mods/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,15 +340,17 @@ Does not require authentication. The token will be issued only if the workspace
| --- | --- | --- |
| request | <code>CreateAnonymousTokenInput</code> | A request with claims required to create a token |
| request.ref | <code>string</code> | A reference for the anonymous user |
| request.aor | <code>string</code> | The address of record (AOR) for the user |
| request.aorLink | <code>string</code> | The address of record (AOR) for the user |
| request.workspaceId | <code>string</code> | The workspace ID |
| request.metadata | <code>string</code> | 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)
Expand Down
2 changes: 1 addition & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ <h2 class="h2 title">Simple, straight-forward pricing.</h2>
<li>1 Team</li>
<li>Unlimited Calls</li>
<li>30-Day Log Retention</li>
<li>Single Sign-On (coming soon)</li>
<li>Email Support</li>
</ul>

Expand Down Expand Up @@ -532,7 +533,6 @@ <h2 class="h2 title">Simple, straight-forward pricing.</h2>
<li>99.99% Uptime SLA</li>
<li>Volume commitment pricing</li>
<li>Dedicated onboarding and engineering support</li>
<li>Single Sign-On (coming soon)</li>
<li>Customer Success Manager</li>
</ul>

Expand Down

0 comments on commit d23a2f6

Please sign in to comment.