public ResourceOwnerActions(
     IGetResourceOwnerAction getResourceOwnerAction,
     IGetResourceOwnersAction getResourceOwnersAction,
     IUpdateResourceOwnerClaimsAction updateResourceOwnerClaimsAction,
     IUpdateResourceOwnerPasswordAction updateResourceOwnerPasswordAction,
     IDeleteResourceOwnerAction deleteResourceOwnerAction,
     IAddUserOperation addUserOperation,
     ISearchResourceOwnersAction searchResourceOwnersAction,
     IUpdateResourceOwnerClaimsParameterValidator updateResourceOwnerClaimsParameterValidator,
     IUpdateResourceOwnerPasswordParameterValidator updateResourceOwnerPasswordParameterValidator,
     IAddUserParameterValidator addUserParameterValidator,
     IManagerEventSource managerEventSource)
 {
     _getResourceOwnerAction = getResourceOwnerAction;
     _getResourceOwnersAction = getResourceOwnersAction;
     _updateResourceOwnerClaimsAction = updateResourceOwnerClaimsAction;
     _updateResourceOwnerPasswordAction = updateResourceOwnerPasswordAction;
     _deleteResourceOwnerAction = deleteResourceOwnerAction;
     _addUserOperation = addUserOperation;
     _searchResourceOwnersAction = searchResourceOwnersAction;
     _updateResourceOwnerClaimsParameterValidator = updateResourceOwnerClaimsParameterValidator;
     _updateResourceOwnerPasswordParameterValidator = updateResourceOwnerPasswordParameterValidator;
     _addUserParameterValidator = addUserParameterValidator;
     _managerEventSource = managerEventSource;
 }
Esempio n. 2
0
 private void InitializeFakeObjects()
 {
     _resourceOwnerRepositoryStub       = new Mock <IResourceOwnerRepository>();
     _updateResourceOwnerPasswordAction = new UpdateResourceOwnerPasswordAction(
         _resourceOwnerRepositoryStub.Object);
 }