14 lines
339 B
Go
14 lines
339 B
Go
package auth
|
|
|
|
type VideoGrant struct {
|
|
RoomCreate bool `json:"room_create,omitempty"`
|
|
RoomJoin bool `json:"room_join,omitempty"`
|
|
RoomList bool `json:"room_list,omitempty"`
|
|
Room string `json:"room,omitempty"`
|
|
}
|
|
|
|
type ClaimGrants struct {
|
|
Identity string `json:"-"`
|
|
Video *VideoGrant `json:"video,omitempty"`
|
|
}
|