consumer/provider에 Authorization타입으로 고정
This commit is contained in:
@ -3,3 +3,12 @@ package session
|
||||
const (
|
||||
communication_channel_name_prefix = "_sess_comm_chan_name"
|
||||
)
|
||||
|
||||
type Authorization struct {
|
||||
Account string `bson:"a" json:"a"`
|
||||
|
||||
// by authorization provider
|
||||
Platform string `bson:"p" json:"p"`
|
||||
Uid string `bson:"u" json:"u"`
|
||||
Email string `bson:"em" json:"em"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user