Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
LogService represents auth logging service
func New ¶
func New(svc auth.Service, logger schemago.Logger) *LogService
New creates new auth logging service
func (*LogService) Authenticate ¶
func (ls *LogService) Authenticate(c echo.Context, code, password string) (resp *schemago.AuthToken, err error)
Authenticate logging
func (*LogService) Logout ¶
func (ls *LogService) Logout(c echo.Context, req string) (err error)
Logout logging
func (*LogService) Refresh ¶
func (ls *LogService) Refresh(c echo.Context, req string) (resp *schemago.RefreshToken, err error)
Refresh logging
Click to show internal directories.
Click to hide internal directories.