auth

package
v0.0.0-...-f309447 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 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 AuthService

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

Assuming models.UserRequest is defined in your models package

func NewAuthService

func NewAuthService(store store.UserStoreInterface) *AuthService

func (*AuthService) LoginUser

func (s *AuthService) LoginUser(ctx context.Context, loginReq models.LoginRequest) (models.User, error)

func (*AuthService) RegisterUser

func (s *AuthService) RegisterUser(ctx context.Context, userReq models.UserRequest) error

Jump to

Keyboard shortcuts

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