Documentation ¶
Index ¶
- type LogService
- func (ls *LogService) FetchByExternalID(c echo.Context, s string) (us authapi.User, err error)
- func (ls *LogService) FetchProfile(c echo.Context, userID int, orgID int) (p authapi.Profile, err error)
- func (ls *LogService) FetchUserByUUID(c echo.Context, userUUID uuid.UUID, orgID int) (u *authapi.User, err error)
- func (ls *LogService) List(c echo.Context, orgID int) (users []authapi.User, err error)
- func (ls *LogService) ListRoles(c echo.Context) (roles []authapi.Role, err error)
- func (ls *LogService) UpdateRole(c echo.Context, level int, profileID int) (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) FetchByExternalID ¶
func (ls *LogService) FetchByExternalID(c echo.Context, s string) (us authapi.User, err error)
Change logging
func (*LogService) FetchProfile ¶
func (*LogService) FetchUserByUUID ¶
func (*LogService) List ¶
func (ls *LogService) List(c echo.Context, orgID int) (users []authapi.User, err error)
func (*LogService) ListRoles ¶
func (ls *LogService) ListRoles(c echo.Context) (roles []authapi.Role, err error)
func (*LogService) UpdateRole ¶
func (ls *LogService) UpdateRole(c echo.Context, level int, profileID int) (err error)
Click to show internal directories.
Click to hide internal directories.