auth

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2018 License: MIT Imports: 4 Imported by: 9

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 gorsk.Logger) *LogService

New creates new auth logging service

func (*LogService) Authenticate

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

Authenticate logging

func (*LogService) Me

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

Me logging

func (*LogService) Refresh

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

Refresh logging

Jump to

Keyboard shortcuts

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