[4927] | 1 | //------------------------------------------------------------------------------
|
---|
| 2 | // <auto-generated>
|
---|
| 3 | // This code was generated by a tool.
|
---|
| 4 | // Runtime Version:4.0.30319.1
|
---|
| 5 | //
|
---|
| 6 | // Changes to this file may cause incorrect behavior and will be lost if
|
---|
| 7 | // the code is regenerated.
|
---|
| 8 | // </auto-generated>
|
---|
| 9 | //------------------------------------------------------------------------------
|
---|
| 10 |
|
---|
[4962] | 11 | namespace HeuristicLab.Services.Authentication
|
---|
[4927] | 12 | {
|
---|
| 13 | using System.Runtime.Serialization;
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 17 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 18 | [System.Runtime.Serialization.DataContractAttribute(Name="AuthItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 19 | "Transfer")]
|
---|
[4962] | 20 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.NamedAuthItem))]
|
---|
| 21 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))]
|
---|
| 22 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))]
|
---|
| 23 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))]
|
---|
[4927] | 24 | public partial class AuthItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
|
---|
| 25 | {
|
---|
| 26 |
|
---|
| 27 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
---|
| 28 |
|
---|
| 29 | private System.Guid IdField;
|
---|
| 30 |
|
---|
| 31 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData
|
---|
| 32 | {
|
---|
| 33 | get
|
---|
| 34 | {
|
---|
| 35 | return this.extensionDataField;
|
---|
| 36 | }
|
---|
| 37 | set
|
---|
| 38 | {
|
---|
| 39 | this.extensionDataField = value;
|
---|
| 40 | }
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 44 | public System.Guid Id
|
---|
| 45 | {
|
---|
| 46 | get
|
---|
| 47 | {
|
---|
| 48 | return this.IdField;
|
---|
| 49 | }
|
---|
| 50 | set
|
---|
| 51 | {
|
---|
| 52 | if ((this.IdField.Equals(value) != true))
|
---|
| 53 | {
|
---|
| 54 | this.IdField = value;
|
---|
| 55 | this.RaisePropertyChanged("Id");
|
---|
| 56 | }
|
---|
| 57 | }
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
---|
| 61 |
|
---|
| 62 | protected void RaisePropertyChanged(string propertyName)
|
---|
| 63 | {
|
---|
| 64 | System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
---|
| 65 | if ((propertyChanged != null))
|
---|
| 66 | {
|
---|
| 67 | propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
---|
| 68 | }
|
---|
| 69 | }
|
---|
| 70 | }
|
---|
| 71 |
|
---|
| 72 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 73 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 74 | [System.Runtime.Serialization.DataContractAttribute(Name="NamedAuthItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 75 | "Transfer")]
|
---|
[4962] | 76 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))]
|
---|
| 77 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))]
|
---|
| 78 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))]
|
---|
| 79 | public partial class NamedAuthItem : HeuristicLab.Services.Authentication.AuthItem
|
---|
[4927] | 80 | {
|
---|
| 81 |
|
---|
| 82 | private string NameField;
|
---|
| 83 |
|
---|
| 84 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 85 | public string Name
|
---|
| 86 | {
|
---|
| 87 | get
|
---|
| 88 | {
|
---|
| 89 | return this.NameField;
|
---|
| 90 | }
|
---|
| 91 | set
|
---|
| 92 | {
|
---|
| 93 | if ((object.ReferenceEquals(this.NameField, value) != true))
|
---|
| 94 | {
|
---|
| 95 | this.NameField = value;
|
---|
| 96 | this.RaisePropertyChanged("Name");
|
---|
| 97 | }
|
---|
| 98 | }
|
---|
| 99 | }
|
---|
| 100 | }
|
---|
| 101 |
|
---|
| 102 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 103 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 104 | [System.Runtime.Serialization.DataContractAttribute(Name="Role", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 105 | "Transfer")]
|
---|
[4962] | 106 | public partial class Role : HeuristicLab.Services.Authentication.NamedAuthItem
|
---|
[4927] | 107 | {
|
---|
| 108 |
|
---|
| 109 | private System.Guid ApplicationIdField;
|
---|
| 110 |
|
---|
| 111 | private string DescriptionField;
|
---|
| 112 |
|
---|
| 113 | private string LoweredRoleNameField;
|
---|
| 114 |
|
---|
| 115 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 116 | public System.Guid ApplicationId
|
---|
| 117 | {
|
---|
| 118 | get
|
---|
| 119 | {
|
---|
| 120 | return this.ApplicationIdField;
|
---|
| 121 | }
|
---|
| 122 | set
|
---|
| 123 | {
|
---|
| 124 | if ((this.ApplicationIdField.Equals(value) != true))
|
---|
| 125 | {
|
---|
| 126 | this.ApplicationIdField = value;
|
---|
| 127 | this.RaisePropertyChanged("ApplicationId");
|
---|
| 128 | }
|
---|
| 129 | }
|
---|
| 130 | }
|
---|
| 131 |
|
---|
| 132 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 133 | public string Description
|
---|
| 134 | {
|
---|
| 135 | get
|
---|
| 136 | {
|
---|
| 137 | return this.DescriptionField;
|
---|
| 138 | }
|
---|
| 139 | set
|
---|
| 140 | {
|
---|
| 141 | if ((object.ReferenceEquals(this.DescriptionField, value) != true))
|
---|
| 142 | {
|
---|
| 143 | this.DescriptionField = value;
|
---|
| 144 | this.RaisePropertyChanged("Description");
|
---|
| 145 | }
|
---|
| 146 | }
|
---|
| 147 | }
|
---|
| 148 |
|
---|
| 149 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 150 | public string LoweredRoleName
|
---|
| 151 | {
|
---|
| 152 | get
|
---|
| 153 | {
|
---|
| 154 | return this.LoweredRoleNameField;
|
---|
| 155 | }
|
---|
| 156 | set
|
---|
| 157 | {
|
---|
| 158 | if ((object.ReferenceEquals(this.LoweredRoleNameField, value) != true))
|
---|
| 159 | {
|
---|
| 160 | this.LoweredRoleNameField = value;
|
---|
| 161 | this.RaisePropertyChanged("LoweredRoleName");
|
---|
| 162 | }
|
---|
| 163 | }
|
---|
| 164 | }
|
---|
| 165 | }
|
---|
| 166 |
|
---|
| 167 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 168 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 169 | [System.Runtime.Serialization.DataContractAttribute(Name="Application", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 170 | "Transfer")]
|
---|
[4962] | 171 | public partial class Application : HeuristicLab.Services.Authentication.NamedAuthItem
|
---|
[4927] | 172 | {
|
---|
| 173 |
|
---|
| 174 | private string DescriptionField;
|
---|
| 175 |
|
---|
| 176 | private string LoweredApplicationNameField;
|
---|
| 177 |
|
---|
| 178 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 179 | public string Description
|
---|
| 180 | {
|
---|
| 181 | get
|
---|
| 182 | {
|
---|
| 183 | return this.DescriptionField;
|
---|
| 184 | }
|
---|
| 185 | set
|
---|
| 186 | {
|
---|
| 187 | if ((object.ReferenceEquals(this.DescriptionField, value) != true))
|
---|
| 188 | {
|
---|
| 189 | this.DescriptionField = value;
|
---|
| 190 | this.RaisePropertyChanged("Description");
|
---|
| 191 | }
|
---|
| 192 | }
|
---|
| 193 | }
|
---|
| 194 |
|
---|
| 195 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 196 | public string LoweredApplicationName
|
---|
| 197 | {
|
---|
| 198 | get
|
---|
| 199 | {
|
---|
| 200 | return this.LoweredApplicationNameField;
|
---|
| 201 | }
|
---|
| 202 | set
|
---|
| 203 | {
|
---|
| 204 | if ((object.ReferenceEquals(this.LoweredApplicationNameField, value) != true))
|
---|
| 205 | {
|
---|
| 206 | this.LoweredApplicationNameField = value;
|
---|
| 207 | this.RaisePropertyChanged("LoweredApplicationName");
|
---|
| 208 | }
|
---|
| 209 | }
|
---|
| 210 | }
|
---|
| 211 | }
|
---|
| 212 |
|
---|
| 213 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 214 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 215 | [System.Runtime.Serialization.DataContractAttribute(Name="User", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 216 | "Transfer")]
|
---|
[4962] | 217 | public partial class User : HeuristicLab.Services.Authentication.NamedAuthItem
|
---|
[4927] | 218 | {
|
---|
| 219 |
|
---|
| 220 | private System.Guid ApplicationIdField;
|
---|
| 221 |
|
---|
| 222 | private string CommentField;
|
---|
| 223 |
|
---|
| 224 | private System.DateTime CreateDateField;
|
---|
| 225 |
|
---|
| 226 | private string EmailField;
|
---|
| 227 |
|
---|
| 228 | private bool IsApprovedField;
|
---|
| 229 |
|
---|
| 230 | private bool IsLookedOutField;
|
---|
| 231 |
|
---|
| 232 | private System.DateTime LastActivityDateField;
|
---|
| 233 |
|
---|
| 234 | private System.DateTime LastLockoutDateField;
|
---|
| 235 |
|
---|
| 236 | private System.DateTime LastLoginDateField;
|
---|
| 237 |
|
---|
| 238 | private System.DateTime LastPasswordChangeDateField;
|
---|
| 239 |
|
---|
| 240 | private string PasswordField;
|
---|
| 241 |
|
---|
| 242 | private string PasswordSaltField;
|
---|
| 243 |
|
---|
| 244 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 245 | public System.Guid ApplicationId
|
---|
| 246 | {
|
---|
| 247 | get
|
---|
| 248 | {
|
---|
| 249 | return this.ApplicationIdField;
|
---|
| 250 | }
|
---|
| 251 | set
|
---|
| 252 | {
|
---|
| 253 | if ((this.ApplicationIdField.Equals(value) != true))
|
---|
| 254 | {
|
---|
| 255 | this.ApplicationIdField = value;
|
---|
| 256 | this.RaisePropertyChanged("ApplicationId");
|
---|
| 257 | }
|
---|
| 258 | }
|
---|
| 259 | }
|
---|
| 260 |
|
---|
| 261 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 262 | public string Comment
|
---|
| 263 | {
|
---|
| 264 | get
|
---|
| 265 | {
|
---|
| 266 | return this.CommentField;
|
---|
| 267 | }
|
---|
| 268 | set
|
---|
| 269 | {
|
---|
| 270 | if ((object.ReferenceEquals(this.CommentField, value) != true))
|
---|
| 271 | {
|
---|
| 272 | this.CommentField = value;
|
---|
| 273 | this.RaisePropertyChanged("Comment");
|
---|
| 274 | }
|
---|
| 275 | }
|
---|
| 276 | }
|
---|
| 277 |
|
---|
| 278 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 279 | public System.DateTime CreateDate
|
---|
| 280 | {
|
---|
| 281 | get
|
---|
| 282 | {
|
---|
| 283 | return this.CreateDateField;
|
---|
| 284 | }
|
---|
| 285 | set
|
---|
| 286 | {
|
---|
| 287 | if ((this.CreateDateField.Equals(value) != true))
|
---|
| 288 | {
|
---|
| 289 | this.CreateDateField = value;
|
---|
| 290 | this.RaisePropertyChanged("CreateDate");
|
---|
| 291 | }
|
---|
| 292 | }
|
---|
| 293 | }
|
---|
| 294 |
|
---|
| 295 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 296 | public string Email
|
---|
| 297 | {
|
---|
| 298 | get
|
---|
| 299 | {
|
---|
| 300 | return this.EmailField;
|
---|
| 301 | }
|
---|
| 302 | set
|
---|
| 303 | {
|
---|
| 304 | if ((object.ReferenceEquals(this.EmailField, value) != true))
|
---|
| 305 | {
|
---|
| 306 | this.EmailField = value;
|
---|
| 307 | this.RaisePropertyChanged("Email");
|
---|
| 308 | }
|
---|
| 309 | }
|
---|
| 310 | }
|
---|
| 311 |
|
---|
| 312 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 313 | public bool IsApproved
|
---|
| 314 | {
|
---|
| 315 | get
|
---|
| 316 | {
|
---|
| 317 | return this.IsApprovedField;
|
---|
| 318 | }
|
---|
| 319 | set
|
---|
| 320 | {
|
---|
| 321 | if ((this.IsApprovedField.Equals(value) != true))
|
---|
| 322 | {
|
---|
| 323 | this.IsApprovedField = value;
|
---|
| 324 | this.RaisePropertyChanged("IsApproved");
|
---|
| 325 | }
|
---|
| 326 | }
|
---|
| 327 | }
|
---|
| 328 |
|
---|
| 329 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 330 | public bool IsLookedOut
|
---|
| 331 | {
|
---|
| 332 | get
|
---|
| 333 | {
|
---|
| 334 | return this.IsLookedOutField;
|
---|
| 335 | }
|
---|
| 336 | set
|
---|
| 337 | {
|
---|
| 338 | if ((this.IsLookedOutField.Equals(value) != true))
|
---|
| 339 | {
|
---|
| 340 | this.IsLookedOutField = value;
|
---|
| 341 | this.RaisePropertyChanged("IsLookedOut");
|
---|
| 342 | }
|
---|
| 343 | }
|
---|
| 344 | }
|
---|
| 345 |
|
---|
| 346 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 347 | public System.DateTime LastActivityDate
|
---|
| 348 | {
|
---|
| 349 | get
|
---|
| 350 | {
|
---|
| 351 | return this.LastActivityDateField;
|
---|
| 352 | }
|
---|
| 353 | set
|
---|
| 354 | {
|
---|
| 355 | if ((this.LastActivityDateField.Equals(value) != true))
|
---|
| 356 | {
|
---|
| 357 | this.LastActivityDateField = value;
|
---|
| 358 | this.RaisePropertyChanged("LastActivityDate");
|
---|
| 359 | }
|
---|
| 360 | }
|
---|
| 361 | }
|
---|
| 362 |
|
---|
| 363 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 364 | public System.DateTime LastLockoutDate
|
---|
| 365 | {
|
---|
| 366 | get
|
---|
| 367 | {
|
---|
| 368 | return this.LastLockoutDateField;
|
---|
| 369 | }
|
---|
| 370 | set
|
---|
| 371 | {
|
---|
| 372 | if ((this.LastLockoutDateField.Equals(value) != true))
|
---|
| 373 | {
|
---|
| 374 | this.LastLockoutDateField = value;
|
---|
| 375 | this.RaisePropertyChanged("LastLockoutDate");
|
---|
| 376 | }
|
---|
| 377 | }
|
---|
| 378 | }
|
---|
| 379 |
|
---|
| 380 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 381 | public System.DateTime LastLoginDate
|
---|
| 382 | {
|
---|
| 383 | get
|
---|
| 384 | {
|
---|
| 385 | return this.LastLoginDateField;
|
---|
| 386 | }
|
---|
| 387 | set
|
---|
| 388 | {
|
---|
| 389 | if ((this.LastLoginDateField.Equals(value) != true))
|
---|
| 390 | {
|
---|
| 391 | this.LastLoginDateField = value;
|
---|
| 392 | this.RaisePropertyChanged("LastLoginDate");
|
---|
| 393 | }
|
---|
| 394 | }
|
---|
| 395 | }
|
---|
| 396 |
|
---|
| 397 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 398 | public System.DateTime LastPasswordChangeDate
|
---|
| 399 | {
|
---|
| 400 | get
|
---|
| 401 | {
|
---|
| 402 | return this.LastPasswordChangeDateField;
|
---|
| 403 | }
|
---|
| 404 | set
|
---|
| 405 | {
|
---|
| 406 | if ((this.LastPasswordChangeDateField.Equals(value) != true))
|
---|
| 407 | {
|
---|
| 408 | this.LastPasswordChangeDateField = value;
|
---|
| 409 | this.RaisePropertyChanged("LastPasswordChangeDate");
|
---|
| 410 | }
|
---|
| 411 | }
|
---|
| 412 | }
|
---|
| 413 |
|
---|
| 414 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 415 | public string Password
|
---|
| 416 | {
|
---|
| 417 | get
|
---|
| 418 | {
|
---|
| 419 | return this.PasswordField;
|
---|
| 420 | }
|
---|
| 421 | set
|
---|
| 422 | {
|
---|
| 423 | if ((object.ReferenceEquals(this.PasswordField, value) != true))
|
---|
| 424 | {
|
---|
| 425 | this.PasswordField = value;
|
---|
| 426 | this.RaisePropertyChanged("Password");
|
---|
| 427 | }
|
---|
| 428 | }
|
---|
| 429 | }
|
---|
| 430 |
|
---|
| 431 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 432 | public string PasswordSalt
|
---|
| 433 | {
|
---|
| 434 | get
|
---|
| 435 | {
|
---|
| 436 | return this.PasswordSaltField;
|
---|
| 437 | }
|
---|
| 438 | set
|
---|
| 439 | {
|
---|
| 440 | if ((object.ReferenceEquals(this.PasswordSaltField, value) != true))
|
---|
| 441 | {
|
---|
| 442 | this.PasswordSaltField = value;
|
---|
| 443 | this.RaisePropertyChanged("PasswordSalt");
|
---|
| 444 | }
|
---|
| 445 | }
|
---|
| 446 | }
|
---|
| 447 | }
|
---|
| 448 |
|
---|
| 449 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
[4962] | 450 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="HeuristicLab.Services.Authentication.IAuthenticationService")]
|
---|
[4927] | 451 | public interface IAuthenticationService
|
---|
| 452 | {
|
---|
| 453 |
|
---|
| 454 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetUserResponse")]
|
---|
[4962] | 455 | HeuristicLab.Services.Authentication.User GetUser(System.Guid id);
|
---|
[4927] | 456 |
|
---|
| 457 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersResponse")]
|
---|
[4962] | 458 | HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId);
|
---|
[4927] | 459 |
|
---|
| 460 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/InsertUser", ReplyAction="http://tempuri.org/IAuthenticationService/InsertUserResponse")]
|
---|
[4962] | 461 | System.Guid InsertUser(HeuristicLab.Services.Authentication.User user);
|
---|
[4927] | 462 |
|
---|
| 463 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteUser", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteUserResponse")]
|
---|
| 464 | bool DeleteUser(System.Guid id);
|
---|
| 465 |
|
---|
| 466 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateUser", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateUserResponse")]
|
---|
[4962] | 467 | bool UpdateUser(HeuristicLab.Services.Authentication.User user);
|
---|
[4927] | 468 |
|
---|
| 469 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddUserToRole", ReplyAction="http://tempuri.org/IAuthenticationService/AddUserToRoleResponse")]
|
---|
| 470 | bool AddUserToRole(System.Guid roleId, System.Guid userId);
|
---|
| 471 |
|
---|
| 472 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/RemoveUserFromRole", ReplyAction="http://tempuri.org/IAuthenticationService/RemoveUserFromRoleResponse")]
|
---|
| 473 | bool RemoveUserFromRole(System.Guid roleId, System.Guid userId);
|
---|
| 474 |
|
---|
| 475 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRolesForUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")]
|
---|
[4962] | 476 | HeuristicLab.Services.Authentication.Role[] GetRolesForUser(System.Guid userId);
|
---|
[4927] | 477 |
|
---|
| 478 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetRoleResponse")]
|
---|
[4962] | 479 | HeuristicLab.Services.Authentication.Role GetRole(System.Guid id);
|
---|
[4927] | 480 |
|
---|
| 481 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesResponse")]
|
---|
[4962] | 482 | HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId);
|
---|
[4927] | 483 |
|
---|
| 484 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/InsertRole", ReplyAction="http://tempuri.org/IAuthenticationService/InsertRoleResponse")]
|
---|
[4962] | 485 | System.Guid InsertRole(HeuristicLab.Services.Authentication.Role role);
|
---|
[4927] | 486 |
|
---|
| 487 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateRole", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateRoleResponse")]
|
---|
[4962] | 488 | bool UpdateRole(HeuristicLab.Services.Authentication.Role role);
|
---|
[4927] | 489 |
|
---|
| 490 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteRole", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteRoleResponse")]
|
---|
| 491 | bool DeleteRole(System.Guid id);
|
---|
| 492 |
|
---|
| 493 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsersInRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")]
|
---|
[4962] | 494 | HeuristicLab.Services.Authentication.User[] GetUsersInRole(System.Guid roleId);
|
---|
[4927] | 495 |
|
---|
| 496 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplication", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationResponse")]
|
---|
[4962] | 497 | HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id);
|
---|
[4927] | 498 |
|
---|
| 499 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/InsertApplication", ReplyAction="http://tempuri.org/IAuthenticationService/InsertApplicationResponse")]
|
---|
[4962] | 500 | System.Guid InsertApplication(HeuristicLab.Services.Authentication.Application application);
|
---|
[4927] | 501 |
|
---|
| 502 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteApplication", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteApplicationResponse")]
|
---|
| 503 | bool DeleteApplication(System.Guid id);
|
---|
| 504 |
|
---|
| 505 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplications", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationsResponse")]
|
---|
[4962] | 506 | HeuristicLab.Services.Authentication.Application[] GetApplications();
|
---|
| 507 |
|
---|
| 508 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateApplication", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateApplicationResponse")]
|
---|
| 509 | bool UpdateApplication(HeuristicLab.Services.Authentication.Application application);
|
---|
[4927] | 510 | }
|
---|
| 511 |
|
---|
| 512 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
[4962] | 513 | public interface IAuthenticationServiceChannel : HeuristicLab.Services.Authentication.IAuthenticationService, System.ServiceModel.IClientChannel
|
---|
[4927] | 514 | {
|
---|
| 515 | }
|
---|
| 516 |
|
---|
| 517 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 518 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
[4962] | 519 | public partial class AuthenticationServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Services.Authentication.IAuthenticationService>, HeuristicLab.Services.Authentication.IAuthenticationService
|
---|
[4927] | 520 | {
|
---|
| 521 |
|
---|
| 522 | public AuthenticationServiceClient()
|
---|
| 523 | {
|
---|
| 524 | }
|
---|
| 525 |
|
---|
| 526 | public AuthenticationServiceClient(string endpointConfigurationName) :
|
---|
| 527 | base(endpointConfigurationName)
|
---|
| 528 | {
|
---|
| 529 | }
|
---|
| 530 |
|
---|
| 531 | public AuthenticationServiceClient(string endpointConfigurationName, string remoteAddress) :
|
---|
| 532 | base(endpointConfigurationName, remoteAddress)
|
---|
| 533 | {
|
---|
| 534 | }
|
---|
| 535 |
|
---|
| 536 | public AuthenticationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 537 | base(endpointConfigurationName, remoteAddress)
|
---|
| 538 | {
|
---|
| 539 | }
|
---|
| 540 |
|
---|
| 541 | public AuthenticationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 542 | base(binding, remoteAddress)
|
---|
| 543 | {
|
---|
| 544 | }
|
---|
| 545 |
|
---|
[4962] | 546 | public HeuristicLab.Services.Authentication.User GetUser(System.Guid id)
|
---|
[4927] | 547 | {
|
---|
| 548 | return base.Channel.GetUser(id);
|
---|
| 549 | }
|
---|
| 550 |
|
---|
[4962] | 551 | public HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId)
|
---|
[4927] | 552 | {
|
---|
| 553 | return base.Channel.GetUsers(applicationId);
|
---|
| 554 | }
|
---|
| 555 |
|
---|
[4962] | 556 | public System.Guid InsertUser(HeuristicLab.Services.Authentication.User user)
|
---|
[4927] | 557 | {
|
---|
| 558 | return base.Channel.InsertUser(user);
|
---|
| 559 | }
|
---|
| 560 |
|
---|
| 561 | public bool DeleteUser(System.Guid id)
|
---|
| 562 | {
|
---|
| 563 | return base.Channel.DeleteUser(id);
|
---|
| 564 | }
|
---|
| 565 |
|
---|
[4962] | 566 | public bool UpdateUser(HeuristicLab.Services.Authentication.User user)
|
---|
[4927] | 567 | {
|
---|
| 568 | return base.Channel.UpdateUser(user);
|
---|
| 569 | }
|
---|
| 570 |
|
---|
| 571 | public bool AddUserToRole(System.Guid roleId, System.Guid userId)
|
---|
| 572 | {
|
---|
| 573 | return base.Channel.AddUserToRole(roleId, userId);
|
---|
| 574 | }
|
---|
| 575 |
|
---|
| 576 | public bool RemoveUserFromRole(System.Guid roleId, System.Guid userId)
|
---|
| 577 | {
|
---|
| 578 | return base.Channel.RemoveUserFromRole(roleId, userId);
|
---|
| 579 | }
|
---|
| 580 |
|
---|
[4962] | 581 | public HeuristicLab.Services.Authentication.Role[] GetRolesForUser(System.Guid userId)
|
---|
[4927] | 582 | {
|
---|
| 583 | return base.Channel.GetRolesForUser(userId);
|
---|
| 584 | }
|
---|
| 585 |
|
---|
[4962] | 586 | public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id)
|
---|
[4927] | 587 | {
|
---|
| 588 | return base.Channel.GetRole(id);
|
---|
| 589 | }
|
---|
| 590 |
|
---|
[4962] | 591 | public HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId)
|
---|
[4927] | 592 | {
|
---|
| 593 | return base.Channel.GetRoles(applicationId);
|
---|
| 594 | }
|
---|
| 595 |
|
---|
[4962] | 596 | public System.Guid InsertRole(HeuristicLab.Services.Authentication.Role role)
|
---|
[4927] | 597 | {
|
---|
| 598 | return base.Channel.InsertRole(role);
|
---|
| 599 | }
|
---|
| 600 |
|
---|
[4962] | 601 | public bool UpdateRole(HeuristicLab.Services.Authentication.Role role)
|
---|
[4927] | 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 |
|
---|
[4962] | 611 | public HeuristicLab.Services.Authentication.User[] GetUsersInRole(System.Guid roleId)
|
---|
[4927] | 612 | {
|
---|
| 613 | return base.Channel.GetUsersInRole(roleId);
|
---|
| 614 | }
|
---|
| 615 |
|
---|
[4962] | 616 | public HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id)
|
---|
[4927] | 617 | {
|
---|
| 618 | return base.Channel.GetApplication(id);
|
---|
| 619 | }
|
---|
| 620 |
|
---|
[4962] | 621 | public System.Guid InsertApplication(HeuristicLab.Services.Authentication.Application application)
|
---|
[4927] | 622 | {
|
---|
| 623 | return base.Channel.InsertApplication(application);
|
---|
| 624 | }
|
---|
| 625 |
|
---|
| 626 | public bool DeleteApplication(System.Guid id)
|
---|
| 627 | {
|
---|
| 628 | return base.Channel.DeleteApplication(id);
|
---|
| 629 | }
|
---|
| 630 |
|
---|
[4962] | 631 | public HeuristicLab.Services.Authentication.Application[] GetApplications()
|
---|
[4927] | 632 | {
|
---|
| 633 | return base.Channel.GetApplications();
|
---|
| 634 | }
|
---|
[4962] | 635 |
|
---|
| 636 | public bool UpdateApplication(HeuristicLab.Services.Authentication.Application application)
|
---|
| 637 | {
|
---|
| 638 | return base.Channel.UpdateApplication(application);
|
---|
| 639 | }
|
---|
[4927] | 640 | }
|
---|
| 641 | }
|
---|