[5257] | 1 | #region License Information
|
---|
| 2 | /* HeuristicLab
|
---|
| 3 | * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
|
---|
| 4 | *
|
---|
| 5 | * This file is part of HeuristicLab.
|
---|
| 6 | *
|
---|
| 7 | * HeuristicLab is free software: you can redistribute it and/or modify
|
---|
| 8 | * it under the terms of the GNU General Public License as published by
|
---|
| 9 | * the Free Software Foundation, either version 3 of the License, or
|
---|
| 10 | * (at your option) any later version.
|
---|
| 11 | *
|
---|
| 12 | * HeuristicLab is distributed in the hope that it will be useful,
|
---|
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 15 | * GNU General Public License for more details.
|
---|
| 16 | *
|
---|
| 17 | * You should have received a copy of the GNU General Public License
|
---|
| 18 | * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
|
---|
| 19 | */
|
---|
| 20 | #endregion
|
---|
| 21 | //------------------------------------------------------------------------------
|
---|
[4927] | 22 | // <auto-generated>
|
---|
[5257] | 23 | // This code was generated by a tool.
|
---|
| 24 | // Runtime Version:4.0.30319.1
|
---|
[4927] | 25 | //
|
---|
[5257] | 26 | // Changes to this file may cause incorrect behavior and will be lost if
|
---|
| 27 | // the code is regenerated.
|
---|
[4927] | 28 | // </auto-generated>
|
---|
| 29 | //------------------------------------------------------------------------------
|
---|
| 30 |
|
---|
[5257] | 31 | namespace HeuristicLab.Services.Authentication {
|
---|
| 32 | using System.Runtime.Serialization;
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 36 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 37 | [System.Runtime.Serialization.DataContractAttribute(Name = "AuthenticationItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 38 | "Transfer")]
|
---|
| 39 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))]
|
---|
| 40 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))]
|
---|
| 41 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))]
|
---|
| 42 | public partial class AuthenticationItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
---|
| 43 |
|
---|
| 44 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
---|
| 45 |
|
---|
| 46 | private string DescriptionField;
|
---|
| 47 |
|
---|
| 48 | private System.Guid IdField;
|
---|
| 49 |
|
---|
| 50 | private string NameField;
|
---|
| 51 |
|
---|
| 52 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
---|
| 53 | get {
|
---|
| 54 | return this.extensionDataField;
|
---|
| 55 | }
|
---|
| 56 | set {
|
---|
| 57 | this.extensionDataField = value;
|
---|
| 58 | }
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 62 | public string Description {
|
---|
| 63 | get {
|
---|
| 64 | return this.DescriptionField;
|
---|
| 65 | }
|
---|
| 66 | set {
|
---|
| 67 | if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
|
---|
| 68 | this.DescriptionField = value;
|
---|
| 69 | this.RaisePropertyChanged("Description");
|
---|
[4927] | 70 | }
|
---|
[5257] | 71 | }
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 75 | public System.Guid Id {
|
---|
| 76 | get {
|
---|
| 77 | return this.IdField;
|
---|
| 78 | }
|
---|
| 79 | set {
|
---|
| 80 | if ((this.IdField.Equals(value) != true)) {
|
---|
| 81 | this.IdField = value;
|
---|
| 82 | this.RaisePropertyChanged("Id");
|
---|
[4927] | 83 | }
|
---|
[5257] | 84 | }
|
---|
| 85 | }
|
---|
| 86 |
|
---|
| 87 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 88 | public string Name {
|
---|
| 89 | get {
|
---|
| 90 | return this.NameField;
|
---|
| 91 | }
|
---|
| 92 | set {
|
---|
| 93 | if ((object.ReferenceEquals(this.NameField, value) != true)) {
|
---|
| 94 | this.NameField = value;
|
---|
| 95 | this.RaisePropertyChanged("Name");
|
---|
[4927] | 96 | }
|
---|
[5257] | 97 | }
|
---|
[4927] | 98 | }
|
---|
[5257] | 99 |
|
---|
| 100 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
---|
| 101 |
|
---|
| 102 |
|
---|
| 103 | }
|
---|
| 104 |
|
---|
| 105 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 106 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 107 | [System.Runtime.Serialization.DataContractAttribute(Name = "Role", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 108 | "Transfer")]
|
---|
| 109 | public partial class Role : HeuristicLab.Services.Authentication.AuthenticationItem {
|
---|
| 110 |
|
---|
| 111 | private System.Guid ApplicationIdField;
|
---|
| 112 |
|
---|
| 113 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 114 | public System.Guid ApplicationId {
|
---|
| 115 | get {
|
---|
| 116 | return this.ApplicationIdField;
|
---|
| 117 | }
|
---|
| 118 | set {
|
---|
| 119 | if ((this.ApplicationIdField.Equals(value) != true)) {
|
---|
| 120 | this.ApplicationIdField = value;
|
---|
| 121 | this.RaisePropertyChanged("ApplicationId");
|
---|
[4927] | 122 | }
|
---|
[5257] | 123 | }
|
---|
[4927] | 124 | }
|
---|
[5257] | 125 | }
|
---|
| 126 |
|
---|
| 127 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 128 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 129 | [System.Runtime.Serialization.DataContractAttribute(Name = "Application", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 130 | "Transfer")]
|
---|
| 131 | public partial class Application : HeuristicLab.Services.Authentication.AuthenticationItem {
|
---|
| 132 | }
|
---|
| 133 |
|
---|
| 134 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 135 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 136 | [System.Runtime.Serialization.DataContractAttribute(Name = "User", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 137 | "Transfer")]
|
---|
| 138 | public partial class User : HeuristicLab.Services.Authentication.AuthenticationItem {
|
---|
| 139 |
|
---|
| 140 | private System.Guid ApplicationIdField;
|
---|
| 141 |
|
---|
| 142 | private System.DateTime CreateDateField;
|
---|
| 143 |
|
---|
| 144 | private string EmailField;
|
---|
| 145 |
|
---|
| 146 | private bool IsApprovedField;
|
---|
| 147 |
|
---|
| 148 | private bool IsLookedOutField;
|
---|
| 149 |
|
---|
| 150 | private System.DateTime LastActivityDateField;
|
---|
| 151 |
|
---|
| 152 | private System.DateTime LastLockoutDateField;
|
---|
| 153 |
|
---|
| 154 | private System.DateTime LastLoginDateField;
|
---|
| 155 |
|
---|
| 156 | private System.DateTime LastPasswordChangeDateField;
|
---|
| 157 |
|
---|
| 158 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 159 | public System.Guid ApplicationId {
|
---|
| 160 | get {
|
---|
| 161 | return this.ApplicationIdField;
|
---|
| 162 | }
|
---|
| 163 | set {
|
---|
| 164 | if ((this.ApplicationIdField.Equals(value) != true)) {
|
---|
| 165 | this.ApplicationIdField = value;
|
---|
| 166 | this.RaisePropertyChanged("ApplicationId");
|
---|
[4927] | 167 | }
|
---|
[5257] | 168 | }
|
---|
| 169 | }
|
---|
| 170 |
|
---|
| 171 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 172 | public System.DateTime CreateDate {
|
---|
| 173 | get {
|
---|
| 174 | return this.CreateDateField;
|
---|
| 175 | }
|
---|
| 176 | set {
|
---|
| 177 | if ((this.CreateDateField.Equals(value) != true)) {
|
---|
| 178 | this.CreateDateField = value;
|
---|
| 179 | this.RaisePropertyChanged("CreateDate");
|
---|
[4927] | 180 | }
|
---|
[5257] | 181 | }
|
---|
[4927] | 182 | }
|
---|
[5257] | 183 |
|
---|
| 184 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 185 | public string Email {
|
---|
| 186 | get {
|
---|
| 187 | return this.EmailField;
|
---|
| 188 | }
|
---|
| 189 | set {
|
---|
| 190 | if ((object.ReferenceEquals(this.EmailField, value) != true)) {
|
---|
| 191 | this.EmailField = value;
|
---|
| 192 | this.RaisePropertyChanged("Email");
|
---|
[4927] | 193 | }
|
---|
[5257] | 194 | }
|
---|
[4927] | 195 | }
|
---|
[5257] | 196 |
|
---|
| 197 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 198 | public bool IsApproved {
|
---|
| 199 | get {
|
---|
| 200 | return this.IsApprovedField;
|
---|
| 201 | }
|
---|
| 202 | set {
|
---|
| 203 | if ((this.IsApprovedField.Equals(value) != true)) {
|
---|
| 204 | this.IsApprovedField = value;
|
---|
| 205 | this.RaisePropertyChanged("IsApproved");
|
---|
[4927] | 206 | }
|
---|
[5257] | 207 | }
|
---|
| 208 | }
|
---|
| 209 |
|
---|
| 210 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 211 | public bool IsLookedOut {
|
---|
| 212 | get {
|
---|
| 213 | return this.IsLookedOutField;
|
---|
| 214 | }
|
---|
| 215 | set {
|
---|
| 216 | if ((this.IsLookedOutField.Equals(value) != true)) {
|
---|
| 217 | this.IsLookedOutField = value;
|
---|
| 218 | this.RaisePropertyChanged("IsLookedOut");
|
---|
[4927] | 219 | }
|
---|
[5257] | 220 | }
|
---|
| 221 | }
|
---|
| 222 |
|
---|
| 223 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 224 | public System.DateTime LastActivityDate {
|
---|
| 225 | get {
|
---|
| 226 | return this.LastActivityDateField;
|
---|
| 227 | }
|
---|
| 228 | set {
|
---|
| 229 | if ((this.LastActivityDateField.Equals(value) != true)) {
|
---|
| 230 | this.LastActivityDateField = value;
|
---|
| 231 | this.RaisePropertyChanged("LastActivityDate");
|
---|
[4927] | 232 | }
|
---|
[5257] | 233 | }
|
---|
| 234 | }
|
---|
| 235 |
|
---|
| 236 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 237 | public System.DateTime LastLockoutDate {
|
---|
| 238 | get {
|
---|
| 239 | return this.LastLockoutDateField;
|
---|
| 240 | }
|
---|
| 241 | set {
|
---|
| 242 | if ((this.LastLockoutDateField.Equals(value) != true)) {
|
---|
| 243 | this.LastLockoutDateField = value;
|
---|
| 244 | this.RaisePropertyChanged("LastLockoutDate");
|
---|
[4927] | 245 | }
|
---|
[5257] | 246 | }
|
---|
| 247 | }
|
---|
| 248 |
|
---|
| 249 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 250 | public System.DateTime LastLoginDate {
|
---|
| 251 | get {
|
---|
| 252 | return this.LastLoginDateField;
|
---|
| 253 | }
|
---|
| 254 | set {
|
---|
| 255 | if ((this.LastLoginDateField.Equals(value) != true)) {
|
---|
| 256 | this.LastLoginDateField = value;
|
---|
| 257 | this.RaisePropertyChanged("LastLoginDate");
|
---|
[4927] | 258 | }
|
---|
[5257] | 259 | }
|
---|
| 260 | }
|
---|
| 261 |
|
---|
| 262 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 263 | public System.DateTime LastPasswordChangeDate {
|
---|
| 264 | get {
|
---|
| 265 | return this.LastPasswordChangeDateField;
|
---|
| 266 | }
|
---|
| 267 | set {
|
---|
| 268 | if ((this.LastPasswordChangeDateField.Equals(value) != true)) {
|
---|
| 269 | this.LastPasswordChangeDateField = value;
|
---|
| 270 | this.RaisePropertyChanged("LastPasswordChangeDate");
|
---|
[4927] | 271 | }
|
---|
[5257] | 272 | }
|
---|
[4927] | 273 | }
|
---|
[5257] | 274 | }
|
---|
| 275 |
|
---|
| 276 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 277 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Services.Authentication.IAuthenticationService")]
|
---|
| 278 | public interface IAuthenticationService {
|
---|
| 279 |
|
---|
| 280 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetUser", ReplyAction = "http://tempuri.org/IAuthenticationService/GetUserResponse")]
|
---|
| 281 | HeuristicLab.Services.Authentication.User GetUser(System.Guid id);
|
---|
| 282 |
|
---|
| 283 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetUsers", ReplyAction = "http://tempuri.org/IAuthenticationService/GetUsersResponse")]
|
---|
| 284 | HeuristicLab.Services.Authentication.User[] GetUsers();
|
---|
| 285 |
|
---|
| 286 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetUsersForApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/GetUsersForApplicationResponse")]
|
---|
| 287 | HeuristicLab.Services.Authentication.User[] GetUsersForApplication(System.Guid applicationId);
|
---|
| 288 |
|
---|
| 289 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/AddUser", ReplyAction = "http://tempuri.org/IAuthenticationService/AddUserResponse")]
|
---|
| 290 | System.Guid AddUser(HeuristicLab.Services.Authentication.User user);
|
---|
| 291 |
|
---|
| 292 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/DeleteUser", ReplyAction = "http://tempuri.org/IAuthenticationService/DeleteUserResponse")]
|
---|
| 293 | void DeleteUser(System.Guid id);
|
---|
| 294 |
|
---|
| 295 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/UpdateUser", ReplyAction = "http://tempuri.org/IAuthenticationService/UpdateUserResponse")]
|
---|
| 296 | void UpdateUser(HeuristicLab.Services.Authentication.User user);
|
---|
| 297 |
|
---|
| 298 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/AddUserToRole", ReplyAction = "http://tempuri.org/IAuthenticationService/AddUserToRoleResponse")]
|
---|
| 299 | void AddUserToRole(System.Guid roleId, System.Guid userId);
|
---|
| 300 |
|
---|
| 301 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetUsersInRole", ReplyAction = "http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")]
|
---|
| 302 | System.Guid[] GetUsersInRole(System.Guid roleId);
|
---|
| 303 |
|
---|
| 304 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/RemoveUserFromRole", ReplyAction = "http://tempuri.org/IAuthenticationService/RemoveUserFromRoleResponse")]
|
---|
| 305 | void RemoveUserFromRole(System.Guid roleId, System.Guid userId);
|
---|
| 306 |
|
---|
| 307 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/IsUserInRole", ReplyAction = "http://tempuri.org/IAuthenticationService/IsUserInRoleResponse")]
|
---|
| 308 | bool IsUserInRole(System.Guid userId, System.Guid roleId);
|
---|
| 309 |
|
---|
| 310 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/ResetPassword", ReplyAction = "http://tempuri.org/IAuthenticationService/ResetPasswordResponse")]
|
---|
| 311 | HeuristicLab.Services.Authentication.User ResetPassword(string applicationName, string userName, string password);
|
---|
| 312 |
|
---|
| 313 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetRole", ReplyAction = "http://tempuri.org/IAuthenticationService/GetRoleResponse")]
|
---|
| 314 | HeuristicLab.Services.Authentication.Role GetRole(System.Guid id);
|
---|
| 315 |
|
---|
| 316 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetRoles", ReplyAction = "http://tempuri.org/IAuthenticationService/GetRolesResponse")]
|
---|
| 317 | HeuristicLab.Services.Authentication.Role[] GetRoles();
|
---|
| 318 |
|
---|
| 319 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetRolesForApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/GetRolesForApplicationResponse")]
|
---|
| 320 | HeuristicLab.Services.Authentication.Role[] GetRolesForApplication(System.Guid applicationId);
|
---|
| 321 |
|
---|
| 322 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/AddRole", ReplyAction = "http://tempuri.org/IAuthenticationService/AddRoleResponse")]
|
---|
| 323 | System.Guid AddRole(HeuristicLab.Services.Authentication.Role role);
|
---|
| 324 |
|
---|
| 325 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/UpdateRole", ReplyAction = "http://tempuri.org/IAuthenticationService/UpdateRoleResponse")]
|
---|
| 326 | void UpdateRole(HeuristicLab.Services.Authentication.Role role);
|
---|
| 327 |
|
---|
| 328 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/DeleteRole", ReplyAction = "http://tempuri.org/IAuthenticationService/DeleteRoleResponse")]
|
---|
| 329 | void DeleteRole(System.Guid id);
|
---|
| 330 |
|
---|
| 331 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetRolesForUser", ReplyAction = "http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")]
|
---|
| 332 | System.Guid[] GetRolesForUser(System.Guid userId);
|
---|
| 333 |
|
---|
| 334 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/GetApplicationResponse")]
|
---|
| 335 | HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id);
|
---|
| 336 |
|
---|
| 337 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/AddApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/AddApplicationResponse")]
|
---|
| 338 | System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application);
|
---|
| 339 |
|
---|
| 340 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/DeleteApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/DeleteApplicationResponse")]
|
---|
| 341 | void DeleteApplication(System.Guid id);
|
---|
| 342 |
|
---|
| 343 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/GetApplications", ReplyAction = "http://tempuri.org/IAuthenticationService/GetApplicationsResponse")]
|
---|
| 344 | HeuristicLab.Services.Authentication.Application[] GetApplications();
|
---|
| 345 |
|
---|
| 346 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAuthenticationService/UpdateApplication", ReplyAction = "http://tempuri.org/IAuthenticationService/UpdateApplicationResponse")]
|
---|
| 347 | void UpdateApplication(HeuristicLab.Services.Authentication.Application application);
|
---|
| 348 | }
|
---|
| 349 |
|
---|
| 350 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 351 | public interface IAuthenticationServiceChannel : HeuristicLab.Services.Authentication.IAuthenticationService, System.ServiceModel.IClientChannel {
|
---|
| 352 | }
|
---|
| 353 |
|
---|
| 354 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 355 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
| 356 | public partial class AuthenticationServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Services.Authentication.IAuthenticationService>, HeuristicLab.Services.Authentication.IAuthenticationService {
|
---|
| 357 |
|
---|
| 358 | public AuthenticationServiceClient() {
|
---|
[4927] | 359 | }
|
---|
[5257] | 360 |
|
---|
| 361 | public AuthenticationServiceClient(string endpointConfigurationName) :
|
---|
| 362 | base(endpointConfigurationName) {
|
---|
[4927] | 363 | }
|
---|
[5257] | 364 |
|
---|
| 365 | public AuthenticationServiceClient(string endpointConfigurationName, string remoteAddress) :
|
---|
| 366 | base(endpointConfigurationName, remoteAddress) {
|
---|
[4927] | 367 | }
|
---|
[5257] | 368 |
|
---|
| 369 | public AuthenticationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 370 | base(endpointConfigurationName, remoteAddress) {
|
---|
| 371 | }
|
---|
| 372 |
|
---|
| 373 | public AuthenticationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 374 | base(binding, remoteAddress) {
|
---|
| 375 | }
|
---|
| 376 |
|
---|
| 377 | public HeuristicLab.Services.Authentication.User GetUser(System.Guid id) {
|
---|
| 378 | return base.Channel.GetUser(id);
|
---|
| 379 | }
|
---|
| 380 |
|
---|
| 381 | public HeuristicLab.Services.Authentication.User[] GetUsers() {
|
---|
| 382 | return base.Channel.GetUsers();
|
---|
| 383 | }
|
---|
| 384 |
|
---|
| 385 | public HeuristicLab.Services.Authentication.User[] GetUsersForApplication(System.Guid applicationId) {
|
---|
| 386 | return base.Channel.GetUsersForApplication(applicationId);
|
---|
| 387 | }
|
---|
| 388 |
|
---|
| 389 | public System.Guid AddUser(HeuristicLab.Services.Authentication.User user) {
|
---|
| 390 | return base.Channel.AddUser(user);
|
---|
| 391 | }
|
---|
| 392 |
|
---|
| 393 | public void DeleteUser(System.Guid id) {
|
---|
| 394 | base.Channel.DeleteUser(id);
|
---|
| 395 | }
|
---|
| 396 |
|
---|
| 397 | public void UpdateUser(HeuristicLab.Services.Authentication.User user) {
|
---|
| 398 | base.Channel.UpdateUser(user);
|
---|
| 399 | }
|
---|
| 400 |
|
---|
| 401 | public void AddUserToRole(System.Guid roleId, System.Guid userId) {
|
---|
| 402 | base.Channel.AddUserToRole(roleId, userId);
|
---|
| 403 | }
|
---|
| 404 |
|
---|
| 405 | public System.Guid[] GetUsersInRole(System.Guid roleId) {
|
---|
| 406 | return base.Channel.GetUsersInRole(roleId);
|
---|
| 407 | }
|
---|
| 408 |
|
---|
| 409 | public void RemoveUserFromRole(System.Guid roleId, System.Guid userId) {
|
---|
| 410 | base.Channel.RemoveUserFromRole(roleId, userId);
|
---|
| 411 | }
|
---|
| 412 |
|
---|
| 413 | public bool IsUserInRole(System.Guid userId, System.Guid roleId) {
|
---|
| 414 | return base.Channel.IsUserInRole(userId, roleId);
|
---|
| 415 | }
|
---|
| 416 |
|
---|
| 417 | public HeuristicLab.Services.Authentication.User ResetPassword(string applicationName, string userName, string password) {
|
---|
| 418 | return base.Channel.ResetPassword(applicationName, userName, password);
|
---|
| 419 | }
|
---|
| 420 |
|
---|
| 421 | public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id) {
|
---|
| 422 | return base.Channel.GetRole(id);
|
---|
| 423 | }
|
---|
| 424 |
|
---|
| 425 | public HeuristicLab.Services.Authentication.Role[] GetRoles() {
|
---|
| 426 | return base.Channel.GetRoles();
|
---|
| 427 | }
|
---|
| 428 |
|
---|
| 429 | public HeuristicLab.Services.Authentication.Role[] GetRolesForApplication(System.Guid applicationId) {
|
---|
| 430 | return base.Channel.GetRolesForApplication(applicationId);
|
---|
| 431 | }
|
---|
| 432 |
|
---|
| 433 | public System.Guid AddRole(HeuristicLab.Services.Authentication.Role role) {
|
---|
| 434 | return base.Channel.AddRole(role);
|
---|
| 435 | }
|
---|
| 436 |
|
---|
| 437 | public void UpdateRole(HeuristicLab.Services.Authentication.Role role) {
|
---|
| 438 | base.Channel.UpdateRole(role);
|
---|
| 439 | }
|
---|
| 440 |
|
---|
| 441 | public void DeleteRole(System.Guid id) {
|
---|
| 442 | base.Channel.DeleteRole(id);
|
---|
| 443 | }
|
---|
| 444 |
|
---|
| 445 | public System.Guid[] GetRolesForUser(System.Guid userId) {
|
---|
| 446 | return base.Channel.GetRolesForUser(userId);
|
---|
| 447 | }
|
---|
| 448 |
|
---|
| 449 | public HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id) {
|
---|
| 450 | return base.Channel.GetApplication(id);
|
---|
| 451 | }
|
---|
| 452 |
|
---|
| 453 | public System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application) {
|
---|
| 454 | return base.Channel.AddApplication(application);
|
---|
| 455 | }
|
---|
| 456 |
|
---|
| 457 | public void DeleteApplication(System.Guid id) {
|
---|
| 458 | base.Channel.DeleteApplication(id);
|
---|
| 459 | }
|
---|
| 460 |
|
---|
| 461 | public HeuristicLab.Services.Authentication.Application[] GetApplications() {
|
---|
| 462 | return base.Channel.GetApplications();
|
---|
| 463 | }
|
---|
| 464 |
|
---|
| 465 | public void UpdateApplication(HeuristicLab.Services.Authentication.Application application) {
|
---|
| 466 | base.Channel.UpdateApplication(application);
|
---|
| 467 | }
|
---|
| 468 | }
|
---|
[4927] | 469 | }
|
---|