Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordUser ¶ added in v0.10.0
PasswordUser is a user that contains a user with a password. This type is primarily used in the user store to authenticate or register a user. This reduces the risk of the password getting accidentally to places it does not belong
type User ¶
type User struct { DisplayName string Name string Email string RegistrationDate time.Time IsAdmin bool Biography string IsShownPublic bool IsEmailPublic bool ProjectHeaderMode int32 Image string IsDeactivated bool }
The User struct contains information to represent a user in the system Image is a base64 encoded string
func New ¶
New creates a new user with the given display name, account name and email address. Returns the created user.
func (*User) Deactivate ¶
func (u *User) Deactivate()
Click to show internal directories.
Click to hide internal directories.