JWT token based auth
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package auth
|
||||
|
||||
type GrantClaims struct {
|
||||
RoomCreate bool `json:"room_create,omitempty"`
|
||||
RoomJoin bool `json:"room_join,omitempty"`
|
||||
Room string `json:"room"`
|
||||
}
|
||||
Reference in New Issue
Block a user