public SyncRolesToAuth0UserMessageHandler(
     IUserDomainEntity userDomainEntity,
     IAuth0UserManagementClient auth0UserManagementClient
     )
 {
     _userDomainEntity          = userDomainEntity;
     _auth0UserManagementClient = auth0UserManagementClient;
 }
 public CreateUserCommandHandler(
     IUserDomainEntity userDomainEntity,
     IMapper mapper
     )
 {
     _userDomainEntity = userDomainEntity;
     _mapper           = mapper;
 }
Example #3
0
 public CreateAuth0UserMessageHandler(
     IUserDomainEntity userDomainEntity,
     IAuth0UserManagementClient auth0UserManagementClient
     )
 {
     _userDomainEntity          = userDomainEntity;
     _auth0UserManagementClient = auth0UserManagementClient;
 }
 public UserProvider(
     IDistributedCache cache,
     IJsonService <User> jsonService,
     IUserDomainEntity userDomainEntity
     )
 {
     _cache            = cache;
     _jsonService      = jsonService;
     _userDomainEntity = userDomainEntity;
 }
 public static Users ConvertToEntity(this IUserDomainEntity entity)
 {
     return(new Users
     {
         Id = entity.Id,
         Name = entity.Name,
         Login = entity.Login,
         Password = entity.Password,
         Roles = entity.Roles
     });
 }
 public DeleteUserCommandHandler(
     IUserDomainEntity userDomainEntity
     )
 {
     _userDomainEntity = userDomainEntity;
 }