//------------------------------------------------------------------------------ // // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.1 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generiert wird. // //------------------------------------------------------------------------------ namespace HeuristicLab.Services.Authentication { using System.Runtime.Serialization; [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="AuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + "Transfer")] [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.NamedAuthenticationItem))] [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))] [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))] [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))] public partial class AuthenticationItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { private System.Runtime.Serialization.ExtensionDataObject extensionDataField; private System.Guid IdField; public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] public System.Guid Id { get { return this.IdField; } set { if ((this.IdField.Equals(value) != true)) { this.IdField = value; this.RaisePropertyChanged("Id"); } } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="NamedAuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + "Transfer")] [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))] [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))] [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))] public partial class NamedAuthenticationItem : HeuristicLab.Services.Authentication.AuthenticationItem { private string NameField; [System.Runtime.Serialization.DataMemberAttribute()] public string Name { get { return this.NameField; } set { if ((object.ReferenceEquals(this.NameField, value) != true)) { this.NameField = value; this.RaisePropertyChanged("Name"); } } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Role", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + "Transfer")] public partial class Role : HeuristicLab.Services.Authentication.NamedAuthenticationItem { private System.Guid ApplicationIdField; private string DescriptionField; [System.Runtime.Serialization.DataMemberAttribute()] public System.Guid ApplicationId { get { return this.ApplicationIdField; } set { if ((this.ApplicationIdField.Equals(value) != true)) { this.ApplicationIdField = value; this.RaisePropertyChanged("ApplicationId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Description { get { return this.DescriptionField; } set { if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { this.DescriptionField = value; this.RaisePropertyChanged("Description"); } } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Application", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + "Transfer")] public partial class Application : HeuristicLab.Services.Authentication.NamedAuthenticationItem { private string DescriptionField; [System.Runtime.Serialization.DataMemberAttribute()] public string Description { get { return this.DescriptionField; } set { if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { this.DescriptionField = value; this.RaisePropertyChanged("Description"); } } } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="User", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" + "Transfer")] public partial class User : HeuristicLab.Services.Authentication.NamedAuthenticationItem { private System.Guid ApplicationIdField; private string CommentField; private System.DateTime CreateDateField; private string EmailField; private bool IsApprovedField; private bool IsLookedOutField; private System.DateTime LastActivityDateField; private System.DateTime LastLockoutDateField; private System.DateTime LastLoginDateField; private System.DateTime LastPasswordChangeDateField; private string PasswordField; private string PasswordSaltField; [System.Runtime.Serialization.DataMemberAttribute()] public System.Guid ApplicationId { get { return this.ApplicationIdField; } set { if ((this.ApplicationIdField.Equals(value) != true)) { this.ApplicationIdField = value; this.RaisePropertyChanged("ApplicationId"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Comment { get { return this.CommentField; } set { if ((object.ReferenceEquals(this.CommentField, value) != true)) { this.CommentField = value; this.RaisePropertyChanged("Comment"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public System.DateTime CreateDate { get { return this.CreateDateField; } set { if ((this.CreateDateField.Equals(value) != true)) { this.CreateDateField = value; this.RaisePropertyChanged("CreateDate"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Email { get { return this.EmailField; } set { if ((object.ReferenceEquals(this.EmailField, value) != true)) { this.EmailField = value; this.RaisePropertyChanged("Email"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public bool IsApproved { get { return this.IsApprovedField; } set { if ((this.IsApprovedField.Equals(value) != true)) { this.IsApprovedField = value; this.RaisePropertyChanged("IsApproved"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public bool IsLookedOut { get { return this.IsLookedOutField; } set { if ((this.IsLookedOutField.Equals(value) != true)) { this.IsLookedOutField = value; this.RaisePropertyChanged("IsLookedOut"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public System.DateTime LastActivityDate { get { return this.LastActivityDateField; } set { if ((this.LastActivityDateField.Equals(value) != true)) { this.LastActivityDateField = value; this.RaisePropertyChanged("LastActivityDate"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public System.DateTime LastLockoutDate { get { return this.LastLockoutDateField; } set { if ((this.LastLockoutDateField.Equals(value) != true)) { this.LastLockoutDateField = value; this.RaisePropertyChanged("LastLockoutDate"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public System.DateTime LastLoginDate { get { return this.LastLoginDateField; } set { if ((this.LastLoginDateField.Equals(value) != true)) { this.LastLoginDateField = value; this.RaisePropertyChanged("LastLoginDate"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public System.DateTime LastPasswordChangeDate { get { return this.LastPasswordChangeDateField; } set { if ((this.LastPasswordChangeDateField.Equals(value) != true)) { this.LastPasswordChangeDateField = value; this.RaisePropertyChanged("LastPasswordChangeDate"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string Password { get { return this.PasswordField; } set { if ((object.ReferenceEquals(this.PasswordField, value) != true)) { this.PasswordField = value; this.RaisePropertyChanged("Password"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string PasswordSalt { get { return this.PasswordSaltField; } set { if ((object.ReferenceEquals(this.PasswordSaltField, value) != true)) { this.PasswordSaltField = value; this.RaisePropertyChanged("PasswordSalt"); } } } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="HeuristicLab.Services.Authentication.IAuthenticationService")] public interface IAuthenticationService { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetUserResponse")] HeuristicLab.Services.Authentication.User GetUser(System.Guid id); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllUsersResponse")] HeuristicLab.Services.Authentication.User[] GetAllUsers(); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersResponse")] HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddUser", ReplyAction="http://tempuri.org/IAuthenticationService/AddUserResponse")] System.Guid AddUser(HeuristicLab.Services.Authentication.User user); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteUser", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteUserResponse")] bool DeleteUser(System.Guid id); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateUser", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateUserResponse")] bool UpdateUser(HeuristicLab.Services.Authentication.User user); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddUserToRole", ReplyAction="http://tempuri.org/IAuthenticationService/AddUserToRoleResponse")] bool AddUserToRole(System.Guid roleId, System.Guid userId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsersInRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")] System.Guid[] GetUsersInRole(System.Guid roleId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/RemoveUserFromRole", ReplyAction="http://tempuri.org/IAuthenticationService/RemoveUserFromRoleResponse")] bool RemoveUserFromRole(System.Guid roleId, System.Guid userId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/IsUserInRole", ReplyAction="http://tempuri.org/IAuthenticationService/IsUserInRoleResponse")] bool IsUserInRole(System.Guid userId, System.Guid roleId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetRoleResponse")] HeuristicLab.Services.Authentication.Role GetRole(System.Guid id); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllRolesResponse")] HeuristicLab.Services.Authentication.Role[] GetAllRoles(); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesResponse")] HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddRole", ReplyAction="http://tempuri.org/IAuthenticationService/AddRoleResponse")] System.Guid AddRole(HeuristicLab.Services.Authentication.Role role); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateRole", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateRoleResponse")] bool UpdateRole(HeuristicLab.Services.Authentication.Role role); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteRole", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteRoleResponse")] bool DeleteRole(System.Guid id); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRolesForUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")] System.Guid[] GetRolesForUser(System.Guid userId); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplication", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationResponse")] HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddApplication", ReplyAction="http://tempuri.org/IAuthenticationService/AddApplicationResponse")] System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteApplication", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteApplicationResponse")] bool DeleteApplication(System.Guid id); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplications", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationsResponse")] HeuristicLab.Services.Authentication.Application[] GetApplications(); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateApplication", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateApplicationResponse")] bool UpdateApplication(HeuristicLab.Services.Authentication.Application application); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface IAuthenticationServiceChannel : HeuristicLab.Services.Authentication.IAuthenticationService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class AuthenticationServiceClient : System.ServiceModel.ClientBase, HeuristicLab.Services.Authentication.IAuthenticationService { public AuthenticationServiceClient() { } public AuthenticationServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public AuthenticationServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public AuthenticationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public AuthenticationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public HeuristicLab.Services.Authentication.User GetUser(System.Guid id) { return base.Channel.GetUser(id); } public HeuristicLab.Services.Authentication.User[] GetAllUsers() { return base.Channel.GetAllUsers(); } public HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId) { return base.Channel.GetUsers(applicationId); } public System.Guid AddUser(HeuristicLab.Services.Authentication.User user) { return base.Channel.AddUser(user); } public bool DeleteUser(System.Guid id) { return base.Channel.DeleteUser(id); } public bool UpdateUser(HeuristicLab.Services.Authentication.User user) { return base.Channel.UpdateUser(user); } public bool AddUserToRole(System.Guid roleId, System.Guid userId) { return base.Channel.AddUserToRole(roleId, userId); } public System.Guid[] GetUsersInRole(System.Guid roleId) { return base.Channel.GetUsersInRole(roleId); } public bool RemoveUserFromRole(System.Guid roleId, System.Guid userId) { return base.Channel.RemoveUserFromRole(roleId, userId); } public bool IsUserInRole(System.Guid userId, System.Guid roleId) { return base.Channel.IsUserInRole(userId, roleId); } public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id) { return base.Channel.GetRole(id); } public HeuristicLab.Services.Authentication.Role[] GetAllRoles() { return base.Channel.GetAllRoles(); } public HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId) { return base.Channel.GetRoles(applicationId); } public System.Guid AddRole(HeuristicLab.Services.Authentication.Role role) { return base.Channel.AddRole(role); } public bool UpdateRole(HeuristicLab.Services.Authentication.Role role) { return base.Channel.UpdateRole(role); } public bool DeleteRole(System.Guid id) { return base.Channel.DeleteRole(id); } public System.Guid[] GetRolesForUser(System.Guid userId) { return base.Channel.GetRolesForUser(userId); } public HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id) { return base.Channel.GetApplication(id); } public System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application) { return base.Channel.AddApplication(application); } public bool DeleteApplication(System.Guid id) { return base.Channel.DeleteApplication(id); } public HeuristicLab.Services.Authentication.Application[] GetApplications() { return base.Channel.GetApplications(); } public bool UpdateApplication(HeuristicLab.Services.Authentication.Application application) { return base.Channel.UpdateApplication(application); } } }