service

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserFinder

type UserFinder interface {
	FindUser(context.Context) (*model.UserEntity, error)
}

type UserFinderFactory

type UserFinderFactory struct {
	UserRepository         model.UserProvider
	RefreshTokenRepository model.RefreshTokenProvider
	Hasher                 password.Hasher
}

func (*UserFinderFactory) ByRefreshToken

func (f *UserFinderFactory) ByRefreshToken(refreshToken string) UserFinder

func (*UserFinderFactory) ByUsernameAndPassword

func (f *UserFinderFactory) ByUsernameAndPassword(username, password string) UserFinder

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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