logging

package
v0.0.0-...-cfbb22e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL