Skip to content

Commit 5e3d41c

Browse files
committed
Add fields
1 parent b101b9f commit 5e3d41c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

VoiceAgent/Auth/Sandbox.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import LiveKit
44
public struct Credentials: Decodable {
55
let serverUrl: URL
66
let participantToken: String
7+
let participantName: String?
8+
let roomName: String?
79
}
810

911
public protocol CredentialsProvider: Sendable {
@@ -21,7 +23,7 @@ public extension Room {
2123
}
2224

2325
/// A service for fetching LiveKit authentication tokens.
24-
/// See [docs](https://CredentialsProvider.livekit.io/home/get-started/authentication) for more information.
26+
/// See [docs](https://docs.livekit.io/home/get-started/authentication/) for more information.
2527
public struct Sandbox: CredentialsProvider {
2628
private static let url: URL = .init(string: "https://cloud-api.livekit.io/api/sandbox/connection-details")!
2729

0 commit comments

Comments
 (0)