You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 66480da
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: token_source/README.md
+12-13Lines changed: 12 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,9 @@ disconnects.
18
18
| --- | --- | --- |
19
19
|`LiteralTokenSource`|`token_source_literal.cpp`| You already have a URL + JWT (minted out of band, e.g. `lk token create`). The SDK consumes them as-is. |
20
20
|`EndpointTokenSource`|`token_source_endpoint.cpp`| Recommended for production. The SDK POSTs request options to your backend token endpoint, which returns the URL + a fresh JWT. API keys stay server-side. |
21
-
|`SandboxTokenSource`|`token_source_sandbox.cpp`| Local development only. Uses LiveKit Cloud's sandbox token server. **Not for production.**|
21
+
|`DevelopmentTokenSource`|`token_source_development.cpp`| Local development only. Uses LiveKit Cloud's development token server. **Not for production.**|
22
22
|`CustomTokenSource`|`token_source_custom.cpp`| You have an internal auth/token system. Plug in your own async callback that returns credentials. |
23
-
|`CachingTokenSource`|`token_source_caching.cpp`| A decorator that adds JWT-aware caching around any configurable source (endpoint/sandbox/custom) to cut down on fetch calls. |
23
+
|`CachingTokenSource`|`token_source_caching.cpp`| A decorator that adds JWT-aware caching around any configurable source (endpoint/development/custom) to cut down on fetch calls. |
24
24
25
25
`LiteralTokenSource` is *fixed* (no per-call options); the others are
26
26
*configurable* and accept
@@ -29,7 +29,7 @@ disconnects.
29
29
30
30
## Configuring the Examples
31
31
32
-
All inputs come from environment variables, so no secrets or sandbox IDs are committed to source.
32
+
All inputs come from environment variables, so no secrets or token server IDs are committed to source.
33
33
34
34
| Variable | Used by | Notes |
35
35
| --- | --- | --- |
@@ -38,9 +38,9 @@ All inputs come from environment variables, so no secrets or sandbox IDs are com
0 commit comments