Add `TokenSource` token fetching abstraction #1645
1egoman
changed the title Add `ConnectionCredentials` Add `ConnectionCredentials` token fetching abstraction 93 days ago
1egoman
marked this pull request as ready for review 93 days ago
1egoman
force pushed
from
1cc267c4
to
98f7382c
93 days ago
lukasIO
approved these changes
on 2025-09-12
1egoman
force pushed
from
0a079614
to
b4c8c875
85 days ago
1egoman
changed the title Add `ConnectionCredentials` token fetching abstraction Add ~`ConnectionCredentials`~ `TokenSource` token fetching abstraction 85 days ago
1egoman
changed the title Add ~`ConnectionCredentials`~ `TokenSource` token fetching abstraction Add ~ConnectionCredentials~ `TokenSource` token fetching abstraction 85 days ago
1egoman
changed the title Add ~ConnectionCredentials~ `TokenSource` token fetching abstraction Add `TokenSource` token fetching abstraction 85 days ago
1egoman
force pushed
from
b4c8c875
to
b03cefe6
85 days ago
1egoman
force pushed
from
48fa7a7d
to
997f86d3
80 days ago
bcherry
approved these changes
on 2025-09-22
davidliu
approved these changes
on 2025-09-23
feat: port ConnectionCredentials implementation from agent-starter-re…
7a2f59fd
refactor: move roomName / participantName docs to ConnectionDetails
8f6fb41a
refactor: reorder literal and custom
70416fe6
fix: rename SandboxTokenServer -> SandboxTokenServerOptions
7f8cce44
feat: optimistically regenerate new credentials on disconnect
69292472
fix: add changeset
981f80c5
fix: run prettier
1059a82a
fix: add BigInt
f2c07fef
fix: remove @types/node to try to fix ci build issue
4e54fecd
fix: migrate back to known good pnpm lock
4173823a
feat: use logger for warnings instead of console
a3ff2d98
feat: add ConnectionCredentials.Response / ConnectionCredentials.Resp…
70ed1a2e
feat: add mechanism to get room config from token rather than returni…
8edc1aec
feat: add ability to explicitly pass ConnectionCredentials.Request in…
c48c7c19
fix: run npm run format
f8c92f20
fix: remove dead code
30c825fb
feat: re-add accidentally removed roomConfig from SandboxTokenServerO…
8a8a549b
fix: address lint issue
e85f4b2b
feat: change ConnectionCredentials so Request gets set ahead of time …
3e3b3005
feat: get rid of `roomName` / `participantName` from response, these …
1b346df4
feat: get rid of connectionCredentialsRequest parameter when calling …
b8301bec
fix: run npm run format
379eda6d
fix: run eslint --fix
43bb7823
fix: address issue where token expiry error would always show on the …
c2848bc8
feat: store currently active credentials fetch and re-use it if multi…
a51dff8b
feat: remove ability to inject custom logger name
ab012bc8
feat: add new ConnectionCredentials.Refreshable abstract base class
a9e038dc
fix: update class name in docs comment
352f89f5
feat: add participantIdentity / participantMetadata / participantAttr…
4d83430a
feat: updated deprecation warnings to include mention of ConnectionCr…
f6150cf8
feat: remove SandboxTokenServer security warning, it sounds like some…
60a5e165
feat: rename from ConnectionCredentials -> TokenSource
15255fe1
fix: update old token source name
1f8089d4
feat: remove individual getters and return the whole jwt payload
97919559
feat: add -Payload suffix to TokenSource.Request / TokenSource.Respon…
fa47c48f
feat: add new TokenSource.Endpoint and update TokenSource.SandboxToke…
cfbc9e2c
feat: add old sandbox token server back temporarily as SandboxTokenSe…
9baa2607
fix: update to TokenSource name in changeset
de1f6f6d
fix: update to tokenSource name in Room class
8c8fba00
feat: migrate to using static method constructors for TokenSource types
5a767cb4
feat: add TokenSourceRequest/TokenSourceResponse protobuf messages in…
058f10bf
1egoman
force pushed
from
943a2649
to
058f10bf
79 days ago
feat: expose protobufs in TokenSource.Custom implementation over raw …
cf268802
feat: get rid of tokensource integration logic in Room temporarily
ba1dd749
feat: more over TokenSource modifications from components-js
bcfa010e
refactor: split up TokenSource into multiple files and add lots of docs
dd811e61
fix: update missing instance of RoomConfigurationPayload
81ab62df
fix: address linting errors
e1bdbfca
fix: run npm run format
44509bd0
1egoman
force pushed
from
4d142591
to
44509bd0
73 days ago
fix: rename TokenSource to TokenSourceBase to fix name clash
61456590
feat: export more tokensource values
e3a90345
feat: rename TokenSourceOptions => TokenSourceFetchOptions
9a173865
fix: re-add missing Promise<void>
438c5dc3
feat: add agentMetadata param alongside agentName
98eac043
fix: allow second parameter to TokenSource.sandboxTokenServer to be o…
c8b46ae7
davidzhao
approved these changes
on 2025-10-01
pblazej
approved these changes
on 2025-10-01
1egoman
merged
64c1a4df
into main 71 days ago
1egoman
deleted the connection-credentials branch 71 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub