auth

package
v0.0.0-...-f0a2dc7 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheKeyPayload

type CacheKeyPayload struct {
	Code   string `json:"code"`
	LastAt int64  `json:"lastAt"`
}

type CheckUserLogic

type CheckUserLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewCheckUserLogic

func NewCheckUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckUserLogic

NewCheckUserLogic Check user is exist

func (*CheckUserLogic) CheckUser

func (l *CheckUserLogic) CheckUser(req *types.CheckUserRequest) (resp *types.CheckUserResponse, err error)

type CheckUserTelephoneLogic

type CheckUserTelephoneLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewCheckUserTelephoneLogic

func NewCheckUserTelephoneLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckUserTelephoneLogic

Check user telephone is exist

func (*CheckUserTelephoneLogic) CheckUserTelephone

type ResetPasswordLogic

type ResetPasswordLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewResetPasswordLogic

func NewResetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ResetPasswordLogic

NewResetPasswordLogic Reset password

func (*ResetPasswordLogic) ResetPassword

func (l *ResetPasswordLogic) ResetPassword(req *types.ResetPasswordRequest) (resp *types.LoginResponse, err error)

type TelephoneLoginLogic

type TelephoneLoginLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewTelephoneLoginLogic

func NewTelephoneLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TelephoneLoginLogic

User Telephone login

func (*TelephoneLoginLogic) TelephoneLogin

func (l *TelephoneLoginLogic) TelephoneLogin(req *types.TelephoneLoginRequest, r *http.Request, ip string) (resp *types.LoginResponse, err error)

type TelephoneResetPasswordLogic

type TelephoneResetPasswordLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewTelephoneResetPasswordLogic

func NewTelephoneResetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TelephoneResetPasswordLogic

Reset password

func (*TelephoneResetPasswordLogic) TelephoneResetPassword

func (l *TelephoneResetPasswordLogic) TelephoneResetPassword(req *types.TelephoneResetPasswordRequest) (resp *types.LoginResponse, err error)

type TelephoneUserRegisterLogic

type TelephoneUserRegisterLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewTelephoneUserRegisterLogic

func NewTelephoneUserRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TelephoneUserRegisterLogic

NewTelephoneUserRegisterLogic User Telephone register

func (*TelephoneUserRegisterLogic) TelephoneUserRegister

func (l *TelephoneUserRegisterLogic) TelephoneUserRegister(req *types.TelephoneRegisterRequest) (resp *types.LoginResponse, err error)

type UserLoginLogic

type UserLoginLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewUserLoginLogic

func NewUserLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserLoginLogic

NewUserLoginLogic User login

func (*UserLoginLogic) UserLogin

func (l *UserLoginLogic) UserLogin(req *types.UserLoginRequest) (resp *types.LoginResponse, err error)

type UserRegisterLogic

type UserRegisterLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewUserRegisterLogic

func NewUserRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserRegisterLogic

NewUserRegisterLogic User register

func (*UserRegisterLogic) UserRegister

func (l *UserRegisterLogic) UserRegister(req *types.UserRegisterRequest) (resp *types.LoginResponse, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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