Documentation ¶
Index ¶
- type LogService
- func (ls *LogService) FetchByEmail(c echo.Context, email string) (u *authapi.User, err error)
- func (ls *LogService) FetchByExternalID(c echo.Context, s string) (us *authapi.User, err error)
- func (ls *LogService) FetchUserByID(c echo.Context, userID int) (u *authapi.User, err error)
- func (ls *LogService) FetchUserByUUID(c echo.Context, userUUID uuid.UUID, orgID int) (u *authapi.User, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
LogService represents password logging service
func New ¶
func New(svc user.Service, logger authapi.Logger) *LogService
New creates new password logging service
func (*LogService) FetchByEmail ¶
func (ls *LogService) FetchByEmail(c echo.Context, email string) (u *authapi.User, err error)
func (*LogService) FetchByExternalID ¶
func (ls *LogService) FetchByExternalID(c echo.Context, s string) (us *authapi.User, err error)
Change logging
func (*LogService) FetchUserByID ¶
func (ls *LogService) FetchUserByID(c echo.Context, userID int) (u *authapi.User, err error)
func (*LogService) FetchUserByUUID ¶
Click to show internal directories.
Click to hide internal directories.