Documentation ¶
Index ¶
- type Config
- type Store
- type UsersSession
- func (u *UsersSession) DeleteUser(ctx context.Context, user *user.User) error
- func (u *UsersSession) DestroyUserByID(ctx context.Context, userID string) error
- func (u *UsersSession) GetUserByID(ctx context.Context, userID string) (*user.User, error)
- func (u *UsersSession) HashPassword(userID string, password string) string
- func (u *UsersSession) PasswordMatches(user *user.User, password string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func (*Store) NewUsersSession ¶ added in v1.20.0
func (s *Store) NewUsersSession() store.UsersSession
type UsersSession ¶ added in v1.20.0
func (*UsersSession) DeleteUser ¶ added in v1.20.0
func (*UsersSession) DestroyUserByID ¶ added in v1.20.0
func (u *UsersSession) DestroyUserByID(ctx context.Context, userID string) error
func (*UsersSession) GetUserByID ¶ added in v1.20.0
func (*UsersSession) HashPassword ¶ added in v1.20.0
func (u *UsersSession) HashPassword(userID string, password string) string
func (*UsersSession) PasswordMatches ¶ added in v1.20.0
func (u *UsersSession) PasswordMatches(user *user.User, password string) bool
Click to show internal directories.
Click to hide internal directories.