Chore: Remove some bus from login package (login attempts) (#47310)

This commit is contained in:
Serge Zaitsev
2022-04-05 13:07:27 +02:00
committed by GitHub
parent f722986b83
commit bf9e0e8bc8
6 changed files with 35 additions and 45 deletions
+1
View File
@@ -26,6 +26,7 @@ type Store interface {
GetOrgById(context.Context, *models.GetOrgByIdQuery) error
GetOrgByNameHandler(ctx context.Context, query *models.GetOrgByNameQuery) error
CreateLoginAttempt(ctx context.Context, cmd *models.CreateLoginAttemptCommand) error
GetUserLoginAttemptCount(ctx context.Context, query *models.GetUserLoginAttemptCountQuery) error
DeleteOldLoginAttempts(ctx context.Context, cmd *models.DeleteOldLoginAttemptsCommand) error
CreateUser(ctx context.Context, cmd models.CreateUserCommand) (*models.User, error)
GetUserById(ctx context.Context, query *models.GetUserByIdQuery) error