mirror of
https://github.com/bitwarden/server
synced 2025-12-18 09:13:19 +00:00
[EC-508] SCIM CQRS Refactor - Users/Get (#2266)
* [EC-390] Added Scim.Test unit tests project * [EC-390] Added ConflictException type. Updated BadRequestException to have parameterless constructor. Updated NotFoundException to have constructor with a message parameter * [EC-534] Implemented CQRS for Users Get and added unit tests * [EC-508] Renamed GetUserCommand to GetUserQuery * [EC-508] Created ScimServiceCollectionExtensions * [EC-508] Renamed AddScimCommands to AddScimUserQueries * [EC-508] Created ExceptionHandlerFilterAttribute on SCIM project Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Bit.Scim.Queries.Users;
|
||||
using Bit.Scim.Queries.Users.Interfaces;
|
||||
|
||||
namespace Bit.Scim.Utilities;
|
||||
|
||||
public static class ScimServiceCollectionExtensions
|
||||
{
|
||||
public static void AddScimUserQueries(this IServiceCollection services)
|
||||
{
|
||||
services.AddScoped<IGetUserQuery, GetUserQuery>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user