Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a3cc749
feat: add initial token source sketch
1egoman Oct 15, 2025
74b92c4
feat: get TokenSourceCustom working
1egoman Oct 15, 2025
e06e010
feat: use dyn Future in TokenSourceFixed trait
1egoman Oct 15, 2025
4f712a3
feat: add TokenSourceFixedSynchronous / TokenSourceConfigurableSynchr…
1egoman Oct 15, 2025
fd8d50a
fix: update incorrect variable references
1egoman Oct 15, 2025
92ac520
feat: get custom working but it is not really correct
1egoman Oct 15, 2025
e57f5b5
feat: update livekit-proto to be built from protocol repo version v1.…
1egoman Oct 15, 2025
593d08a
fix: add missing participant_info::Kind case as part of livekit-proto…
1egoman Oct 15, 2025
f6f90d1
refactor: split up token source into many files
1egoman Oct 15, 2025
94a8972
feat: add kitchen sink type token source example
1egoman Oct 15, 2025
cbe2c1c
feat: add TokenSourceFixed / TokenSourceConfigurable to prelude
1egoman Oct 15, 2025
8793b81
feat: add reexport of tokensource livekit protocol structs
1egoman Oct 15, 2025
42cf5ab
feat: make a bunch of structs public
1egoman Oct 15, 2025
aa8f3e2
fix: ensure the proper future::ready implementation is being used
1egoman Oct 15, 2025
1484c23
refactor: run cargo fmt
1egoman Oct 15, 2025
be374fe
fix: remove token source test fn
1egoman Oct 15, 2025
16b8b26
fix: add ANOTHER missing participant_info::Kind case as part of livek…
1egoman Oct 15, 2025
f60e539
fix: add PARTICIPANT_KIND_CONNECTOR to livekit-ffi proto definition
1egoman Oct 16, 2025
ae2e6f4
fix: get rid of pubs in TokenSourceFetchOptions
1egoman Oct 16, 2025
275634f
fix: address docs example missing import
1egoman Oct 16, 2025
5289e98
feat: add separate proto / locally defined TokenSourceRequest + Token…
1egoman Oct 16, 2025
a3a016d
feat: add TokenSourceResult / TokenSourceError for better error handling
1egoman Oct 16, 2025
8b48599
refactor: drop irrelevant fixme comments
1egoman Oct 17, 2025
6047dfa
feat: add initial TokenSourceCache implementation
1egoman Oct 17, 2025
f0111c8
feat: add token validation function and use it in TokenSourceCache
1egoman Oct 17, 2025
2257017
docs: add some fixme notes for next week
1egoman Oct 17, 2025
6e34fa2
feat: remove test code
1egoman Oct 17, 2025
c53f3e0
refactor: break up cache logic into separate files
1egoman Oct 17, 2025
a751742
feat: pass through token source cache clear cache method
1egoman Oct 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 105 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ members = [
"examples/send_bytes",
"examples/webhooks",
"examples/wgpu_room",
"examples/token_source",
]

[workspace.dependencies]
Expand Down
11 changes: 11 additions & 0 deletions examples/token_source/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "token_source"
version = "0.1.0"
edition = "2021"

[dependencies]
tokio = { version = "1", features = ["full"] }
env_logger = "0.10"
livekit = { path = "../../livekit", features = ["rustls-tls-native-roots"]}
livekit-api = { path = "../../livekit-api", features = ["rustls-tls-native-roots"]}
log = "0.4"
Loading
Loading