Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLDAPUser ¶ added in v0.3.0
Types ¶
type LDAPProvider ¶ added in v0.3.0
type LDAPUser ¶ added in v0.3.0
type LDAPUser struct { Common LastLoginAt sql.NullTime `json:"-" gorm:"default:null"` // This is only relevant if the session middleware is in use LDAPProviderID uint LDAPProvider LDAPProvider Username string DN string }
func (*LDAPUser) GetAuthModelIdentifier ¶ added in v0.3.0
type LocalUser ¶ added in v0.3.0
type LocalUser struct { Common LastLoginAt sql.NullTime `json:"-" gorm:"default:null"` // This is only relevant if the session middleware is in use Email *string `json:"email" gorm:"unique;default:null"` Username string `json:"username" gorm:"unique;not null"` Password string `json:"-" gorm:"not null"` }
func (*LocalUser) GetAuthModelIdentifier ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.