auth

package
v0.0.0-...-7f74711 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 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 homeschooling.Logger) *LogService

New creates new auth logging service

func (*LogService) Authenticate

func (ls *LogService) Authenticate(c echo.Context, user, password string) (resp homeschooling.AuthToken, err error)

Authenticate logging

func (*LogService) Me

func (ls *LogService) Me(c echo.Context) (resp homeschooling.User, err error)

Me logging

func (*LogService) Refresh

func (ls *LogService) Refresh(c echo.Context, req string) (token string, err error)

Refresh logging

Jump to

Keyboard shortcuts

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