Retrieves a list of users by filter. Also returns total count of matching users which may differ from returned results if filter.Limit is specified.
(ctx context.Context, filter UserFilter)
| 56 | // Retrieves a list of users by filter. Also returns total count of matching |
| 57 | // users which may differ from returned results if filter.Limit is specified. |
| 58 | FindUsers(ctx context.Context, filter UserFilter) ([]*User, int, error) |
| 59 | |
| 60 | // Creates a new user. This is only used for testing since users are typically |
| 61 | // created during the OAuth creation process in AuthService.CreateAuth(). |