We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As discussed in PR #8, the UserService interface lacks essential security operations:
UserService
Password management:
ChangePassword(ctx context.Context, oldPassword, newPassword string) error
RequestPasswordReset(ctx context.Context, email string) error
ResetPassword(ctx context.Context, token, newPassword string) error
Session management:
CreateSession(ctx context.Context, user *model.User) (*model.Session, error)
InvalidateSession(ctx context.Context, sessionID string) error
Rate limiting for sensitive operations
Implementing these methods will enhance the security of the application.
Requested by @itsLeonB.
See the discussion at: #8 (comment)
The text was updated successfully, but these errors were encountered:
itsLeonB
No branches or pull requests
As discussed in PR #8, the
UserService
interface lacks essential security operations:Password management:
ChangePassword(ctx context.Context, oldPassword, newPassword string) error
RequestPasswordReset(ctx context.Context, email string) error
ResetPassword(ctx context.Context, token, newPassword string) error
Session management:
CreateSession(ctx context.Context, user *model.User) (*model.Session, error)
InvalidateSession(ctx context.Context, sessionID string) error
Rate limiting for sensitive operations
Implementing these methods will enhance the security of the application.
Requested by @itsLeonB.
See the discussion at: #8 (comment)
The text was updated successfully, but these errors were encountered: