public FederatedAuthenticationController(
     IFederationSettingsService settingsService, IAuthenticationService authenticationService, IMembershipService membershipService, IRoleService roleService, IRepository <UserRolesPartRecord> userRolesRepository)
 {
     this.SettingsService       = settingsService;
     this.AuthenticationService = authenticationService;
     this.MembershipService     = membershipService;
     this.RoleService           = roleService;
     this.UserRolesRepository   = userRolesRepository;
 }
 public FederationEnabledRouteConstraint(IFederationSettingsService settings)
 {
     this.Settings = settings;
 }