consumer/provider에 Authorization타입으로 고정

This commit is contained in:
2023-08-30 13:38:13 +09:00
parent a5d66a0249
commit d8458662fd
4 changed files with 43 additions and 37 deletions

View File

@ -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"`
}