MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / ChangePassword

Method ChangePassword

internal/service/user.go:25–25  ·  view source on GitHub ↗
(ctx context.Context, username string, password string, newPassword string, confirmPassword string)

Source from the content-addressed store, hash-verified

23 Login(ctx context.Context, username string, password string) (domain.User, error)
24 LoginBySMS(ctx context.Context, number string, code string) (domain.User, error)
25 ChangePassword(ctx context.Context, username string, password string, newPassword string, confirmPassword string) error
26 DeleteUser(ctx context.Context, username string, password string, uid int64) error
27 UpdateProfile(ctx context.Context, profile domain.Profile) error
28 GetProfileByUserID(ctx context.Context, UserID int64) (domain.Profile, error)

Callers 2

ChangePasswordMethod · 0.65
ChangePasswordMethod · 0.65

Implementers 3

userServiceinternal/service/user.go
MockUserServiceinternal/service/mocks/user.mock.go
MockUserServiceMockRecorderinternal/service/mocks/user.mock.go

Calls

no outgoing calls

Tested by

no test coverage detected