Documentation ¶
Index ¶
- type AccountDb
- func (t *AccountDb) ChangeMyPassword(tx interface{}, password string) error
- func (t *AccountDb) ChangePassword(tx interface{}, id string, password string) error
- func (t *AccountDb) FullLoadUser(tx interface{}, user *domain.User) (err error)
- func (t *AccountDb) LoginDelay(tx interface{}, delay time.Duration) error
- func (t *AccountDb) LoginUser(tx interface{}, email, password string, ipaddress string, ...) (*domain.Session, error)
- func (t *AccountDb) LogoutUser(tx interface{}) error
- func (t *AccountDb) PasswordRecoverCreateToken(tx interface{}, user *domain.User) error
- func (t *AccountDb) SessionDb() database.Session
- func (t *AccountDb) SetSessionDb(item *database.Session)
- func (t *AccountDb) SetUserDb(item *database.User)
- func (t *AccountDb) UserDb() database.User
- func (t *AccountDb) VerifyTokenEmail(tx interface{}, user *domain.User, ipaddress string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDb ¶
func (*AccountDb) ChangeMyPassword ¶
func (*AccountDb) ChangePassword ¶
func (*AccountDb) FullLoadUser ¶
func (*AccountDb) LoginDelay ¶
func (*AccountDb) LoginUser ¶
func (t *AccountDb) LoginUser(tx interface{}, email, password string, ipaddress string, validatePassword bool) (*domain.Session, error)
TODO: implement session.SessionCreate instead of doing this directly to sessions table
func (*AccountDb) LogoutUser ¶
func (*AccountDb) PasswordRecoverCreateToken ¶
func (*AccountDb) SetSessionDb ¶
Click to show internal directories.
Click to hide internal directories.