auth

package
v0.0.0-...-9b07b7c Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 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 {
	auth.Service
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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