Skip to content

Commit

Permalink
chore: add tokenId optional parameter for generateDisposableToken docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anitarua committed Dec 18, 2024
1 parent 25510ee commit b8bf4ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/cache/develop/api-reference/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ The auth APIs create and manage API keys and tokens for Momento services. These
- **scope** - [*DisposableTokenScope*](#disposabletokenscope-objects): The permissions to grant to the new disposable token. Pre-built DisposableTokenScope objects are provided by the SDKs.
- **expiresIn** - *Number* \| *ExpiresIn object*: The number of seconds until the token expires or an ExpiresIn object representing a duration by calling the ExpiresIn.minutes() or ExpiresIn.hours(1) methods. Disposable tokens must expire within 1 hour.

#### Optional Parameters
----------------
- **tokenId** - *string*: user-provided string that can help identify which messages were published with which disposable token.

#### Returns
----------------
One of the following:
Expand Down
4 changes: 4 additions & 0 deletions docs/leaderboards/api-reference/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ The auth APIs create and manage API keys and tokens for Momento services. These
- **scope** - [*DisposableTokenScope*](#disposabletokenscope-objects): The permissions to grant to the new disposable token. Pre-built DisposableTokenScope objects are provided by the SDKs.
- **expiresIn** - *Number* \| *ExpiresIn object*: The number of seconds until the token expires or an ExpiresIn object representing a duration by calling the ExpiresIn.minutes() or ExpiresIn.hours(1) methods. Disposable tokens must expire within 1 hour.

#### Optional Parameters
----------------
- **tokenId** - *string*: user-provided string that can help identify which messages were published with which disposable token.

#### Returns
----------------
One of the following:
Expand Down
4 changes: 4 additions & 0 deletions docs/topics/api-reference/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ The auth APIs create and manage API keys and tokens for Momento services. These
- **scope** - [*DisposableTokenScope*](#disposabletokenscope-objects): The permissions to grant to the new disposable token. Pre-built DisposableTokenScope objects are provided by the SDKs.
- **expiresIn** - *Number* \| *ExpiresIn object*: The number of seconds until the token expires or an ExpiresIn object representing a duration by calling the ExpiresIn.minutes() or ExpiresIn.hours(1) methods. Disposable tokens must expire within 1 hour.

#### Optional Parameters
----------------
- **tokenId** - *string*: user-provided string that can help identify which messages were published with which disposable token.

#### Returns
----------------
One of the following:
Expand Down

0 comments on commit b8bf4ad

Please sign in to comment.