services

package
v0.0.0-...-e9bd53e Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthSvc

type AuthSvc interface {
	GetCurrentUser(ctx context.Context) (currentUser *models.User, err error)
}

func NewAuthSvcImpl

func NewAuthSvcImpl(catalog msgcat.MessageCatalog) AuthSvc

type AuthSvcImpl

type AuthSvcImpl struct {
	// contains filtered or unexported fields
}

func (*AuthSvcImpl) GetCurrentUser

func (svc *AuthSvcImpl) GetCurrentUser(ctx context.Context) (currentUser *models.User, err error)

func (*AuthSvcImpl) SignIn

func (svc *AuthSvcImpl) SignIn(ctx context.Context) (apiKey string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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