Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAuth ¶
type UserAuth struct { ObjectId uuid.UUID `json:"objectId" bson:"objectId"` Username string `json:"username" bson:"username"` Password []byte `json:"password" bson:"password"` AccessToken string `json:"access_token" bson:"access_token"` EmailVerified bool `json:"emailVerified" bson:"emailVerified"` Role string `json:"role" bson:"role"` PhoneVerified bool `json:"phoneVerified" bson:"phoneVerified"` TokenExpires int64 `json:"token_expires" bson:"token_expires"` CreatedDate int64 `json:"created_date" bson:"created_date"` LastUpdated int64 `json:"last_updated" bson:"last_updated"` }
type UserVerification ¶
type UserVerification struct { ObjectId uuid.UUID `json:"objectId" bson:"objectId"` Code string `json:"code" bson:"code"` Target string `json:"target" bson:"target"` TargetType constants.VerifyConst `json:"targetType" bson:"targetType"` Counter int64 `json:"counter" bson:"counter"` CreatedDate int64 `json:"created_date" bson:"created_date"` RemoteIpAddress string `json:"remoteIpAddress" bson:"remoteIpAddress"` UserId uuid.UUID `json:"userId" bson:"userId"` IsVerified bool `json:"isVerified" bson:"isVerified"` LastUpdated int64 `json:"last_updated" bson:"last_updated"` }
Click to show internal directories.
Click to hide internal directories.