Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidPassword ¶
IsValidPassword checks if a password meets the minimum requirements
Types ¶
type User ¶
type User struct { ID *int `json:"id"` Email string `json:"email"` PasswordHash *string `json:"password_hash"` IsSso bool `json:"is_sso"` SsoUserID *string `json:"sso_user_id"` SsoProviderID *int `json:"sso_provider_id"` IsAdmin bool `json:"is_admin"` }
User represents a user in the system
func (*User) ValidatePassword ¶
Click to show internal directories.
Click to hide internal directories.