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
Click to show internal directories.
Click to hide internal directories.