Changeset 4979 for branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/ServiceClients/AuthenticationServiceClient.cs
- Timestamp:
- 11/28/10 15:27:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/ServiceClients/AuthenticationServiceClient.cs
r4962 r4979 1 1 //------------------------------------------------------------------------------ 2 2 // <auto-generated> 3 // This code was generated by a tool.4 // Runtime Version:4.0.30319.13 // Dieser Code wurde von einem Tool generiert. 4 // Laufzeitversion:4.0.30319.1 5 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if7 // the code is regenerated.6 // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn 7 // der Code erneut generiert wird. 8 8 // </auto-generated> 9 9 //------------------------------------------------------------------------------ … … 16 16 [System.Diagnostics.DebuggerStepThroughAttribute()] 17 17 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 18 [System.Runtime.Serialization.DataContractAttribute(Name="Auth Item", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +18 [System.Runtime.Serialization.DataContractAttribute(Name="AuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + 19 19 "Transfer")] 20 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.NamedAuth Item))]20 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.NamedAuthenticationItem))] 21 21 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))] 22 22 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))] 23 23 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))] 24 public partial class Auth Item : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged24 public partial class AuthenticationItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 25 25 { 26 26 … … 72 72 [System.Diagnostics.DebuggerStepThroughAttribute()] 73 73 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 74 [System.Runtime.Serialization.DataContractAttribute(Name="NamedAuth Item", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +74 [System.Runtime.Serialization.DataContractAttribute(Name="NamedAuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + 75 75 "Transfer")] 76 76 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))] 77 77 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))] 78 78 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))] 79 public partial class NamedAuth Item : HeuristicLab.Services.Authentication.AuthItem79 public partial class NamedAuthenticationItem : HeuristicLab.Services.Authentication.AuthenticationItem 80 80 { 81 81 … … 104 104 [System.Runtime.Serialization.DataContractAttribute(Name="Role", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + 105 105 "Transfer")] 106 public partial class Role : HeuristicLab.Services.Authentication.NamedAuth Item106 public partial class Role : HeuristicLab.Services.Authentication.NamedAuthenticationItem 107 107 { 108 108 … … 110 110 111 111 private string DescriptionField; 112 113 private string LoweredRoleNameField;114 112 115 113 [System.Runtime.Serialization.DataMemberAttribute()] … … 143 141 this.DescriptionField = value; 144 142 this.RaisePropertyChanged("Description"); 145 }146 }147 }148 149 [System.Runtime.Serialization.DataMemberAttribute()]150 public string LoweredRoleName151 {152 get153 {154 return this.LoweredRoleNameField;155 }156 set157 {158 if ((object.ReferenceEquals(this.LoweredRoleNameField, value) != true))159 {160 this.LoweredRoleNameField = value;161 this.RaisePropertyChanged("LoweredRoleName");162 143 } 163 144 } … … 169 150 [System.Runtime.Serialization.DataContractAttribute(Name="Application", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + 170 151 "Transfer")] 171 public partial class Application : HeuristicLab.Services.Authentication.NamedAuth Item152 public partial class Application : HeuristicLab.Services.Authentication.NamedAuthenticationItem 172 153 { 173 154 174 155 private string DescriptionField; 175 176 private string LoweredApplicationNameField;177 156 178 157 [System.Runtime.Serialization.DataMemberAttribute()] … … 189 168 this.DescriptionField = value; 190 169 this.RaisePropertyChanged("Description"); 191 }192 }193 }194 195 [System.Runtime.Serialization.DataMemberAttribute()]196 public string LoweredApplicationName197 {198 get199 {200 return this.LoweredApplicationNameField;201 }202 set203 {204 if ((object.ReferenceEquals(this.LoweredApplicationNameField, value) != true))205 {206 this.LoweredApplicationNameField = value;207 this.RaisePropertyChanged("LoweredApplicationName");208 170 } 209 171 } … … 215 177 [System.Runtime.Serialization.DataContractAttribute(Name="User", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + 216 178 "Transfer")] 217 public partial class User : HeuristicLab.Services.Authentication.NamedAuth Item179 public partial class User : HeuristicLab.Services.Authentication.NamedAuthenticationItem 218 180 { 219 181 … … 455 417 HeuristicLab.Services.Authentication.User GetUser(System.Guid id); 456 418 419 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllUsersResponse")] 420 HeuristicLab.Services.Authentication.User[] GetAllUsers(); 421 457 422 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersResponse")] 458 423 HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId); 459 424 460 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/ InsertUser", ReplyAction="http://tempuri.org/IAuthenticationService/InsertUserResponse")]461 System.Guid InsertUser(HeuristicLab.Services.Authentication.User user);425 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddUser", ReplyAction="http://tempuri.org/IAuthenticationService/AddUserResponse")] 426 System.Guid AddUser(HeuristicLab.Services.Authentication.User user); 462 427 463 428 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteUser", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteUserResponse")] … … 470 435 bool AddUserToRole(System.Guid roleId, System.Guid userId); 471 436 437 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsersInRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")] 438 System.Guid[] GetUsersInRole(System.Guid roleId); 439 472 440 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/RemoveUserFromRole", ReplyAction="http://tempuri.org/IAuthenticationService/RemoveUserFromRoleResponse")] 473 441 bool RemoveUserFromRole(System.Guid roleId, System.Guid userId); 474 442 475 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/ GetRolesForUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")]476 HeuristicLab.Services.Authentication.Role[] GetRolesForUser(System.Guid userId);443 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/IsUserInRole", ReplyAction="http://tempuri.org/IAuthenticationService/IsUserInRoleResponse")] 444 bool IsUserInRole(System.Guid userId, System.Guid roleId); 477 445 478 446 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetRoleResponse")] 479 447 HeuristicLab.Services.Authentication.Role GetRole(System.Guid id); 480 448 449 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllRolesResponse")] 450 HeuristicLab.Services.Authentication.Role[] GetAllRoles(); 451 481 452 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesResponse")] 482 453 HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId); 483 454 484 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/ InsertRole", ReplyAction="http://tempuri.org/IAuthenticationService/InsertRoleResponse")]485 System.Guid InsertRole(HeuristicLab.Services.Authentication.Role role);455 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddRole", ReplyAction="http://tempuri.org/IAuthenticationService/AddRoleResponse")] 456 System.Guid AddRole(HeuristicLab.Services.Authentication.Role role); 486 457 487 458 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateRole", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateRoleResponse")] … … 491 462 bool DeleteRole(System.Guid id); 492 463 493 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/Get UsersInRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")]494 HeuristicLab.Services.Authentication.User[] GetUsersInRole(System.Guid roleId);464 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRolesForUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")] 465 System.Guid[] GetRolesForUser(System.Guid userId); 495 466 496 467 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplication", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationResponse")] 497 468 HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id); 498 469 499 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/ InsertApplication", ReplyAction="http://tempuri.org/IAuthenticationService/InsertApplicationResponse")]500 System.Guid InsertApplication(HeuristicLab.Services.Authentication.Application application);470 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddApplication", ReplyAction="http://tempuri.org/IAuthenticationService/AddApplicationResponse")] 471 System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application); 501 472 502 473 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteApplication", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteApplicationResponse")] … … 549 520 } 550 521 522 public HeuristicLab.Services.Authentication.User[] GetAllUsers() 523 { 524 return base.Channel.GetAllUsers(); 525 } 526 551 527 public HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId) 552 528 { … … 554 530 } 555 531 556 public System.Guid InsertUser(HeuristicLab.Services.Authentication.User user)557 { 558 return base.Channel. InsertUser(user);532 public System.Guid AddUser(HeuristicLab.Services.Authentication.User user) 533 { 534 return base.Channel.AddUser(user); 559 535 } 560 536 … … 574 550 } 575 551 552 public System.Guid[] GetUsersInRole(System.Guid roleId) 553 { 554 return base.Channel.GetUsersInRole(roleId); 555 } 556 576 557 public bool RemoveUserFromRole(System.Guid roleId, System.Guid userId) 577 558 { … … 579 560 } 580 561 581 public HeuristicLab.Services.Authentication.Role[] GetRolesForUser(System.Guid userId) 562 public bool IsUserInRole(System.Guid userId, System.Guid roleId) 563 { 564 return base.Channel.IsUserInRole(userId, roleId); 565 } 566 567 public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id) 568 { 569 return base.Channel.GetRole(id); 570 } 571 572 public HeuristicLab.Services.Authentication.Role[] GetAllRoles() 573 { 574 return base.Channel.GetAllRoles(); 575 } 576 577 public HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId) 578 { 579 return base.Channel.GetRoles(applicationId); 580 } 581 582 public System.Guid AddRole(HeuristicLab.Services.Authentication.Role role) 583 { 584 return base.Channel.AddRole(role); 585 } 586 587 public bool UpdateRole(HeuristicLab.Services.Authentication.Role role) 588 { 589 return base.Channel.UpdateRole(role); 590 } 591 592 public bool DeleteRole(System.Guid id) 593 { 594 return base.Channel.DeleteRole(id); 595 } 596 597 public System.Guid[] GetRolesForUser(System.Guid userId) 582 598 { 583 599 return base.Channel.GetRolesForUser(userId); 584 600 } 585 601 586 public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id)587 {588 return base.Channel.GetRole(id);589 }590 591 public HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId)592 {593 return base.Channel.GetRoles(applicationId);594 }595 596 public System.Guid InsertRole(HeuristicLab.Services.Authentication.Role role)597 {598 return base.Channel.InsertRole(role);599 }600 601 public bool UpdateRole(HeuristicLab.Services.Authentication.Role role)602 {603 return base.Channel.UpdateRole(role);604 }605 606 public bool DeleteRole(System.Guid id)607 {608 return base.Channel.DeleteRole(id);609 }610 611 public HeuristicLab.Services.Authentication.User[] GetUsersInRole(System.Guid roleId)612 {613 return base.Channel.GetUsersInRole(roleId);614 }615 616 602 public HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id) 617 603 { … … 619 605 } 620 606 621 public System.Guid InsertApplication(HeuristicLab.Services.Authentication.Application application)622 { 623 return base.Channel. InsertApplication(application);607 public System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application) 608 { 609 return base.Channel.AddApplication(application); 624 610 } 625 611
Note: See TracChangeset
for help on using the changeset viewer.