Files
livekit-3d/pkg/auth/grants.go
T

13 lines
291 B
Go

package auth
type VideoGrant struct {
RoomCreate bool `json:"room_create,omitempty"`
RoomJoin bool `json:"room_join,omitempty"`
Room string `json:"room,omitempty"`
}
type ClaimGrants struct {
Identity string `json:"-"`
Video *VideoGrant `json:"video,omitempty"`
}