Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id primitive.ObjectID `bson:"_id"` UserId string `bson:"user_id"` Username string `bson:"username"` Password string `bson:"password"` Secret string `bson:"secret"` Permissions []string `bson:"permissions"` RefreshToken string `bson:"refresh_token"` IsMfaEnabled bool `bson:"is_mfa_enabled"` IsMfaVerified bool `bson:"is_mfa_verified"` }
type UserClaims ¶
Click to show internal directories.
Click to hide internal directories.