auth

package
v0.0.0-...-32f8f0d Latest Latest
Warning

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

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

New creates new auth logging service

func (*LogService) Authenticate

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

Authenticate logging

func (*LogService) Me

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

Me logging

func (*LogService) Refresh

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

Refresh logging

Jump to

Keyboard shortcuts

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