Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { gorm.Model UserID string `gorm:"uniqueIndex"` Password string // formatted with hash, see storageFormat in passwords.go OTPSecret string OrgID string ProcedureSet int }
func Fetch ¶
Fetch retrieves the user with the given UserID The returned user is not valid if the error is not nil.
func (*User) ProcedureTypeAllowed ¶ added in v0.2.6
func (u *User) ProcedureTypeAllowed(procedureType credential.Type) bool
Click to show internal directories.
Click to hide internal directories.