Documentation
¶
Index ¶
- type LogService
- func (ls *LogService) Create(c echo.Context, i authapi.Invitation) (err error)
- func (ls *LogService) CreateUser(c echo.Context, profile authapi.Profile, invite authapi.Invitation) (err error)
- func (ls *LogService) Delete(c echo.Context, email string, orgID int) (err error)
- func (ls *LogService) List(c echo.Context, orgID int, includeExpired bool, includeUsed bool) (invites []authapi.Invitation, err error)
- func (ls *LogService) View(c echo.Context, tokenPlainText string) (i authapi.Invitation, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
type LogService struct { invitation.Service // contains filtered or unexported fields }
LogService represents password logging service
func New ¶
func New(svc invitation.Service, logger authapi.Logger) *LogService
func (*LogService) Create ¶
func (ls *LogService) Create(c echo.Context, i authapi.Invitation) (err error)
func (*LogService) CreateUser ¶
func (ls *LogService) CreateUser(c echo.Context, profile authapi.Profile, invite authapi.Invitation) (err error)
func (*LogService) Delete ¶
func (ls *LogService) Delete(c echo.Context, email string, orgID int) (err error)
func (*LogService) List ¶
func (ls *LogService) List(c echo.Context, orgID int, includeExpired bool, includeUsed bool) (invites []authapi.Invitation, err error)
func (*LogService) View ¶
func (ls *LogService) View(c echo.Context, tokenPlainText string) (i authapi.Invitation, err error)
Click to show internal directories.
Click to hide internal directories.