satellite/console: Clarify return params of interface method
Name the return parameters in a User interface method to clarify what they are. Change-Id: I6a5c97659c8167df89b38016fcccbc8eb70a09c5
This commit is contained in:
parent
257bdbac32
commit
ed67ce33bb
@ -29,7 +29,7 @@ type Users interface {
|
|||||||
// UpdateFailedLoginCountAndExpiration increments failed_login_count and sets login_lockout_expiration appropriately.
|
// UpdateFailedLoginCountAndExpiration increments failed_login_count and sets login_lockout_expiration appropriately.
|
||||||
UpdateFailedLoginCountAndExpiration(ctx context.Context, failedLoginPenalty *float64, id uuid.UUID) error
|
UpdateFailedLoginCountAndExpiration(ctx context.Context, failedLoginPenalty *float64, id uuid.UUID) error
|
||||||
// GetByEmailWithUnverified is a method for querying users by email from the database.
|
// GetByEmailWithUnverified is a method for querying users by email from the database.
|
||||||
GetByEmailWithUnverified(ctx context.Context, email string) (*User, []User, error)
|
GetByEmailWithUnverified(ctx context.Context, email string) (verified *User, unverified []User, err error)
|
||||||
// GetByStatus is a method for querying user by status from the database.
|
// GetByStatus is a method for querying user by status from the database.
|
||||||
GetByStatus(ctx context.Context, status UserStatus, cursor UserCursor) (*UsersPage, error)
|
GetByStatus(ctx context.Context, status UserStatus, cursor UserCursor) (*UsersPage, error)
|
||||||
// GetByEmail is a method for querying user by verified email from the database.
|
// GetByEmail is a method for querying user by verified email from the database.
|
||||||
|
Loading…
Reference in New Issue
Block a user