Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vx416
Copy link
Owner

@vx416 vx416 commented Nov 23, 2025

implement the following methods of the Service interface:

    SignUp(ctx context.Context, email, password string) error
Login(ctx context.Context, email, password string) (string, error)
Logout(ctx context.Context, token string) error
ChangePassword(ctx context.Context, email string, oldPassword, newPassword EncryptedPassword) error
CreateUser(ctx context.Context, operator Claims, user *User) error
DeleteUser(ctx context.Context, operator Claims, userID bson.ObjectID) error
UpdateUser(ctx context.Context, operator Claims, user *User) error

Copy link
Collaborator

@yanun0323 yanun0323 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vx416 vx416 merged commit afe22b7 into account/rbac Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants