Compare commits
2 Commits
40baa86bd6
...
bb3a7fc957
| Author | SHA1 | Date | |
|---|---|---|---|
| bb3a7fc957 | |||
| d00aaae839 |
@ -17,9 +17,10 @@ type Authorization struct {
|
|||||||
invalidated string
|
invalidated string
|
||||||
|
|
||||||
// by authorization provider
|
// by authorization provider
|
||||||
Platform string `bson:"p" json:"p"`
|
Platform string `bson:"p" json:"p"`
|
||||||
Uid string `bson:"u" json:"u"`
|
Uid string `bson:"u" json:"u"`
|
||||||
Alias string `bson:"al" json:"al"`
|
Alias string `bson:"al" json:"al"`
|
||||||
|
CreatedTime primitive.DateTime `bson:"ct" json:"ct"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (auth *Authorization) ToStrings() []string {
|
func (auth *Authorization) ToStrings() []string {
|
||||||
|
|||||||
Reference in New Issue
Block a user