[4927] | 1 | //------------------------------------------------------------------------------
|
---|
| 2 | // <auto-generated>
|
---|
[4979] | 3 | // Dieser Code wurde von einem Tool generiert.
|
---|
| 4 | // Laufzeitversion:4.0.30319.1
|
---|
[4927] | 5 | //
|
---|
[4979] | 6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
---|
| 7 | // der Code erneut generiert wird.
|
---|
[4927] | 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")]
|
---|
[4979] | 18 | [System.Runtime.Serialization.DataContractAttribute(Name="AuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
[4927] | 19 | "Transfer")]
|
---|
[4979] | 20 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.NamedAuthenticationItem))]
|
---|
[4962] | 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))]
|
---|
[4979] | 24 | public partial class AuthenticationItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
|
---|
[4927] | 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")]
|
---|
[4979] | 74 | [System.Runtime.Serialization.DataContractAttribute(Name="NamedAuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
[4927] | 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))]
|
---|
[4979] | 79 | public partial class NamedAuthenticationItem : HeuristicLab.Services.Authentication.AuthenticationItem
|
---|
[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")]
|
---|
[4979] | 106 | public partial class Role : HeuristicLab.Services.Authentication.NamedAuthenticationItem
|
---|
[4927] | 107 | {
|
---|
| 108 |
|
---|
| 109 | private System.Guid ApplicationIdField;
|
---|
| 110 |
|
---|
| 111 | private string DescriptionField;
|
---|
| 112 |
|
---|
| 113 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 114 | public System.Guid ApplicationId
|
---|
| 115 | {
|
---|
| 116 | get
|
---|
| 117 | {
|
---|
| 118 | return this.ApplicationIdField;
|
---|
| 119 | }
|
---|
| 120 | set
|
---|
| 121 | {
|
---|
| 122 | if ((this.ApplicationIdField.Equals(value) != true))
|
---|
| 123 | {
|
---|
| 124 | this.ApplicationIdField = value;
|
---|
| 125 | this.RaisePropertyChanged("ApplicationId");
|
---|
| 126 | }
|
---|
| 127 | }
|
---|
| 128 | }
|
---|
| 129 |
|
---|
| 130 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 131 | public string Description
|
---|
| 132 | {
|
---|
| 133 | get
|
---|
| 134 | {
|
---|
| 135 | return this.DescriptionField;
|
---|
| 136 | }
|
---|
| 137 | set
|
---|
| 138 | {
|
---|
| 139 | if ((object.ReferenceEquals(this.DescriptionField, value) != true))
|
---|
| 140 | {
|
---|
| 141 | this.DescriptionField = value;
|
---|
| 142 | this.RaisePropertyChanged("Description");
|
---|
| 143 | }
|
---|
| 144 | }
|
---|
| 145 | }
|
---|
| 146 | }
|
---|
| 147 |
|
---|
| 148 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 149 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 150 | [System.Runtime.Serialization.DataContractAttribute(Name="Application", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 151 | "Transfer")]
|
---|
[4979] | 152 | public partial class Application : HeuristicLab.Services.Authentication.NamedAuthenticationItem
|
---|
[4927] | 153 | {
|
---|
| 154 |
|
---|
| 155 | private string DescriptionField;
|
---|
| 156 |
|
---|
| 157 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 158 | public string Description
|
---|
| 159 | {
|
---|
| 160 | get
|
---|
| 161 | {
|
---|
| 162 | return this.DescriptionField;
|
---|
| 163 | }
|
---|
| 164 | set
|
---|
| 165 | {
|
---|
| 166 | if ((object.ReferenceEquals(this.DescriptionField, value) != true))
|
---|
| 167 | {
|
---|
| 168 | this.DescriptionField = value;
|
---|
| 169 | this.RaisePropertyChanged("Description");
|
---|
| 170 | }
|
---|
| 171 | }
|
---|
| 172 | }
|
---|
| 173 | }
|
---|
| 174 |
|
---|
| 175 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 176 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
| 177 | [System.Runtime.Serialization.DataContractAttribute(Name="User", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
|
---|
| 178 | "Transfer")]
|
---|
[4979] | 179 | public partial class User : HeuristicLab.Services.Authentication.NamedAuthenticationItem
|
---|
[4927] | 180 | {
|
---|
| 181 |
|
---|
| 182 | private System.Guid ApplicationIdField;
|
---|
| 183 |
|
---|
| 184 | private string CommentField;
|
---|
| 185 |
|
---|
| 186 | private System.DateTime CreateDateField;
|
---|
| 187 |
|
---|
| 188 | private string EmailField;
|
---|
| 189 |
|
---|
| 190 | private bool IsApprovedField;
|
---|
| 191 |
|
---|
| 192 | private bool IsLookedOutField;
|
---|
| 193 |
|
---|
| 194 | private System.DateTime LastActivityDateField;
|
---|
| 195 |
|
---|
| 196 | private System.DateTime LastLockoutDateField;
|
---|
| 197 |
|
---|
| 198 | private System.DateTime LastLoginDateField;
|
---|
| 199 |
|
---|
| 200 | private System.DateTime LastPasswordChangeDateField;
|
---|
| 201 |
|
---|
| 202 | private string PasswordField;
|
---|
| 203 |
|
---|
| 204 | private string PasswordSaltField;
|
---|
| 205 |
|
---|
| 206 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 207 | public System.Guid ApplicationId
|
---|
| 208 | {
|
---|
| 209 | get
|
---|
| 210 | {
|
---|
| 211 | return this.ApplicationIdField;
|
---|
| 212 | }
|
---|
| 213 | set
|
---|
| 214 | {
|
---|
| 215 | if ((this.ApplicationIdField.Equals(value) != true))
|
---|
| 216 | {
|
---|
| 217 | this.ApplicationIdField = value;
|
---|
| 218 | this.RaisePropertyChanged("ApplicationId");
|
---|
| 219 | }
|
---|
| 220 | }
|
---|
| 221 | }
|
---|
| 222 |
|
---|
| 223 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 224 | public string Comment
|
---|
| 225 | {
|
---|
| 226 | get
|
---|
| 227 | {
|
---|
| 228 | return this.CommentField;
|
---|
| 229 | }
|
---|
| 230 | set
|
---|
| 231 | {
|
---|
| 232 | if ((object.ReferenceEquals(this.CommentField, value) != true))
|
---|
| 233 | {
|
---|
| 234 | this.CommentField = value;
|
---|
| 235 | this.RaisePropertyChanged("Comment");
|
---|
| 236 | }
|
---|
| 237 | }
|
---|
| 238 | }
|
---|
| 239 |
|
---|
| 240 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 241 | public System.DateTime CreateDate
|
---|
| 242 | {
|
---|
| 243 | get
|
---|
| 244 | {
|
---|
| 245 | return this.CreateDateField;
|
---|
| 246 | }
|
---|
| 247 | set
|
---|
| 248 | {
|
---|
| 249 | if ((this.CreateDateField.Equals(value) != true))
|
---|
| 250 | {
|
---|
| 251 | this.CreateDateField = value;
|
---|
| 252 | this.RaisePropertyChanged("CreateDate");
|
---|
| 253 | }
|
---|
| 254 | }
|
---|
| 255 | }
|
---|
| 256 |
|
---|
| 257 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 258 | public string Email
|
---|
| 259 | {
|
---|
| 260 | get
|
---|
| 261 | {
|
---|
| 262 | return this.EmailField;
|
---|
| 263 | }
|
---|
| 264 | set
|
---|
| 265 | {
|
---|
| 266 | if ((object.ReferenceEquals(this.EmailField, value) != true))
|
---|
| 267 | {
|
---|
| 268 | this.EmailField = value;
|
---|
| 269 | this.RaisePropertyChanged("Email");
|
---|
| 270 | }
|
---|
| 271 | }
|
---|
| 272 | }
|
---|
| 273 |
|
---|
| 274 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 275 | public bool IsApproved
|
---|
| 276 | {
|
---|
| 277 | get
|
---|
| 278 | {
|
---|
| 279 | return this.IsApprovedField;
|
---|
| 280 | }
|
---|
| 281 | set
|
---|
| 282 | {
|
---|
| 283 | if ((this.IsApprovedField.Equals(value) != true))
|
---|
| 284 | {
|
---|
| 285 | this.IsApprovedField = value;
|
---|
| 286 | this.RaisePropertyChanged("IsApproved");
|
---|
| 287 | }
|
---|
| 288 | }
|
---|
| 289 | }
|
---|
| 290 |
|
---|
| 291 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 292 | public bool IsLookedOut
|
---|
| 293 | {
|
---|
| 294 | get
|
---|
| 295 | {
|
---|
| 296 | return this.IsLookedOutField;
|
---|
| 297 | }
|
---|
| 298 | set
|
---|
| 299 | {
|
---|
| 300 | if ((this.IsLookedOutField.Equals(value) != true))
|
---|
| 301 | {
|
---|
| 302 | this.IsLookedOutField = value;
|
---|
| 303 | this.RaisePropertyChanged("IsLookedOut");
|
---|
| 304 | }
|
---|
| 305 | }
|
---|
| 306 | }
|
---|
| 307 |
|
---|
| 308 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 309 | public System.DateTime LastActivityDate
|
---|
| 310 | {
|
---|
| 311 | get
|
---|
| 312 | {
|
---|
| 313 | return this.LastActivityDateField;
|
---|
| 314 | }
|
---|
| 315 | set
|
---|
| 316 | {
|
---|
| 317 | if ((this.LastActivityDateField.Equals(value) != true))
|
---|
| 318 | {
|
---|
| 319 | this.LastActivityDateField = value;
|
---|
| 320 | this.RaisePropertyChanged("LastActivityDate");
|
---|
| 321 | }
|
---|
| 322 | }
|
---|
| 323 | }
|
---|
| 324 |
|
---|
| 325 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 326 | public System.DateTime LastLockoutDate
|
---|
| 327 | {
|
---|
| 328 | get
|
---|
| 329 | {
|
---|
| 330 | return this.LastLockoutDateField;
|
---|
| 331 | }
|
---|
| 332 | set
|
---|
| 333 | {
|
---|
| 334 | if ((this.LastLockoutDateField.Equals(value) != true))
|
---|
| 335 | {
|
---|
| 336 | this.LastLockoutDateField = value;
|
---|
| 337 | this.RaisePropertyChanged("LastLockoutDate");
|
---|
| 338 | }
|
---|
| 339 | }
|
---|
| 340 | }
|
---|
| 341 |
|
---|
| 342 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 343 | public System.DateTime LastLoginDate
|
---|
| 344 | {
|
---|
| 345 | get
|
---|
| 346 | {
|
---|
| 347 | return this.LastLoginDateField;
|
---|
| 348 | }
|
---|
| 349 | set
|
---|
| 350 | {
|
---|
| 351 | if ((this.LastLoginDateField.Equals(value) != true))
|
---|
| 352 | {
|
---|
| 353 | this.LastLoginDateField = value;
|
---|
| 354 | this.RaisePropertyChanged("LastLoginDate");
|
---|
| 355 | }
|
---|
| 356 | }
|
---|
| 357 | }
|
---|
| 358 |
|
---|
| 359 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 360 | public System.DateTime LastPasswordChangeDate
|
---|
| 361 | {
|
---|
| 362 | get
|
---|
| 363 | {
|
---|
| 364 | return this.LastPasswordChangeDateField;
|
---|
| 365 | }
|
---|
| 366 | set
|
---|
| 367 | {
|
---|
| 368 | if ((this.LastPasswordChangeDateField.Equals(value) != true))
|
---|
| 369 | {
|
---|
| 370 | this.LastPasswordChangeDateField = value;
|
---|
| 371 | this.RaisePropertyChanged("LastPasswordChangeDate");
|
---|
| 372 | }
|
---|
| 373 | }
|
---|
| 374 | }
|
---|
| 375 |
|
---|
| 376 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 377 | public string Password
|
---|
| 378 | {
|
---|
| 379 | get
|
---|
| 380 | {
|
---|
| 381 | return this.PasswordField;
|
---|
| 382 | }
|
---|
| 383 | set
|
---|
| 384 | {
|
---|
| 385 | if ((object.ReferenceEquals(this.PasswordField, value) != true))
|
---|
| 386 | {
|
---|
| 387 | this.PasswordField = value;
|
---|
| 388 | this.RaisePropertyChanged("Password");
|
---|
| 389 | }
|
---|
| 390 | }
|
---|
| 391 | }
|
---|
| 392 |
|
---|
| 393 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
| 394 | public string PasswordSalt
|
---|
| 395 | {
|
---|
| 396 | get
|
---|
| 397 | {
|
---|
| 398 | return this.PasswordSaltField;
|
---|
| 399 | }
|
---|
| 400 | set
|
---|
| 401 | {
|
---|
| 402 | if ((object.ReferenceEquals(this.PasswordSaltField, value) != true))
|
---|
| 403 | {
|
---|
| 404 | this.PasswordSaltField = value;
|
---|
| 405 | this.RaisePropertyChanged("PasswordSalt");
|
---|
| 406 | }
|
---|
| 407 | }
|
---|
| 408 | }
|
---|
| 409 | }
|
---|
| 410 |
|
---|
| 411 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
[4962] | 412 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="HeuristicLab.Services.Authentication.IAuthenticationService")]
|
---|
[4927] | 413 | public interface IAuthenticationService
|
---|
| 414 | {
|
---|
| 415 |
|
---|
| 416 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetUserResponse")]
|
---|
[4962] | 417 | HeuristicLab.Services.Authentication.User GetUser(System.Guid id);
|
---|
[4927] | 418 |
|
---|
[4979] | 419 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllUsersResponse")]
|
---|
| 420 | HeuristicLab.Services.Authentication.User[] GetAllUsers();
|
---|
| 421 |
|
---|
[4927] | 422 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersResponse")]
|
---|
[4962] | 423 | HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId);
|
---|
[4927] | 424 |
|
---|
[4979] | 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);
|
---|
[4927] | 427 |
|
---|
| 428 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteUser", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteUserResponse")]
|
---|
| 429 | bool DeleteUser(System.Guid id);
|
---|
| 430 |
|
---|
| 431 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateUser", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateUserResponse")]
|
---|
[4962] | 432 | bool UpdateUser(HeuristicLab.Services.Authentication.User user);
|
---|
[4927] | 433 |
|
---|
| 434 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddUserToRole", ReplyAction="http://tempuri.org/IAuthenticationService/AddUserToRoleResponse")]
|
---|
| 435 | bool AddUserToRole(System.Guid roleId, System.Guid userId);
|
---|
| 436 |
|
---|
[4979] | 437 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsersInRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")]
|
---|
| 438 | System.Guid[] GetUsersInRole(System.Guid roleId);
|
---|
| 439 |
|
---|
[4927] | 440 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/RemoveUserFromRole", ReplyAction="http://tempuri.org/IAuthenticationService/RemoveUserFromRoleResponse")]
|
---|
| 441 | bool RemoveUserFromRole(System.Guid roleId, System.Guid userId);
|
---|
| 442 |
|
---|
[4979] | 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);
|
---|
[4927] | 445 |
|
---|
| 446 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetRoleResponse")]
|
---|
[4962] | 447 | HeuristicLab.Services.Authentication.Role GetRole(System.Guid id);
|
---|
[4927] | 448 |
|
---|
[4979] | 449 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllRolesResponse")]
|
---|
| 450 | HeuristicLab.Services.Authentication.Role[] GetAllRoles();
|
---|
| 451 |
|
---|
[4927] | 452 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesResponse")]
|
---|
[4962] | 453 | HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId);
|
---|
[4927] | 454 |
|
---|
[4979] | 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);
|
---|
[4927] | 457 |
|
---|
| 458 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateRole", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateRoleResponse")]
|
---|
[4962] | 459 | bool UpdateRole(HeuristicLab.Services.Authentication.Role role);
|
---|
[4927] | 460 |
|
---|
| 461 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteRole", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteRoleResponse")]
|
---|
| 462 | bool DeleteRole(System.Guid id);
|
---|
| 463 |
|
---|
[4979] | 464 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRolesForUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")]
|
---|
| 465 | System.Guid[] GetRolesForUser(System.Guid userId);
|
---|
[4927] | 466 |
|
---|
| 467 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplication", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationResponse")]
|
---|
[4962] | 468 | HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id);
|
---|
[4927] | 469 |
|
---|
[4979] | 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);
|
---|
[4927] | 472 |
|
---|
| 473 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteApplication", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteApplicationResponse")]
|
---|
| 474 | bool DeleteApplication(System.Guid id);
|
---|
| 475 |
|
---|
| 476 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplications", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationsResponse")]
|
---|
[4962] | 477 | HeuristicLab.Services.Authentication.Application[] GetApplications();
|
---|
| 478 |
|
---|
| 479 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateApplication", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateApplicationResponse")]
|
---|
| 480 | bool UpdateApplication(HeuristicLab.Services.Authentication.Application application);
|
---|
[4927] | 481 | }
|
---|
| 482 |
|
---|
| 483 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
[4962] | 484 | public interface IAuthenticationServiceChannel : HeuristicLab.Services.Authentication.IAuthenticationService, System.ServiceModel.IClientChannel
|
---|
[4927] | 485 | {
|
---|
| 486 | }
|
---|
| 487 |
|
---|
| 488 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
| 489 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
[4962] | 490 | public partial class AuthenticationServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Services.Authentication.IAuthenticationService>, HeuristicLab.Services.Authentication.IAuthenticationService
|
---|
[4927] | 491 | {
|
---|
| 492 |
|
---|
| 493 | public AuthenticationServiceClient()
|
---|
| 494 | {
|
---|
| 495 | }
|
---|
| 496 |
|
---|
| 497 | public AuthenticationServiceClient(string endpointConfigurationName) :
|
---|
| 498 | base(endpointConfigurationName)
|
---|
| 499 | {
|
---|
| 500 | }
|
---|
| 501 |
|
---|
| 502 | public AuthenticationServiceClient(string endpointConfigurationName, string remoteAddress) :
|
---|
| 503 | base(endpointConfigurationName, remoteAddress)
|
---|
| 504 | {
|
---|
| 505 | }
|
---|
| 506 |
|
---|
| 507 | public AuthenticationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 508 | base(endpointConfigurationName, remoteAddress)
|
---|
| 509 | {
|
---|
| 510 | }
|
---|
| 511 |
|
---|
| 512 | public AuthenticationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
| 513 | base(binding, remoteAddress)
|
---|
| 514 | {
|
---|
| 515 | }
|
---|
| 516 |
|
---|
[4962] | 517 | public HeuristicLab.Services.Authentication.User GetUser(System.Guid id)
|
---|
[4927] | 518 | {
|
---|
| 519 | return base.Channel.GetUser(id);
|
---|
| 520 | }
|
---|
| 521 |
|
---|
[4979] | 522 | public HeuristicLab.Services.Authentication.User[] GetAllUsers()
|
---|
| 523 | {
|
---|
| 524 | return base.Channel.GetAllUsers();
|
---|
| 525 | }
|
---|
| 526 |
|
---|
[4962] | 527 | public HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId)
|
---|
[4927] | 528 | {
|
---|
| 529 | return base.Channel.GetUsers(applicationId);
|
---|
| 530 | }
|
---|
| 531 |
|
---|
[4979] | 532 | public System.Guid AddUser(HeuristicLab.Services.Authentication.User user)
|
---|
[4927] | 533 | {
|
---|
[4979] | 534 | return base.Channel.AddUser(user);
|
---|
[4927] | 535 | }
|
---|
| 536 |
|
---|
| 537 | public bool DeleteUser(System.Guid id)
|
---|
| 538 | {
|
---|
| 539 | return base.Channel.DeleteUser(id);
|
---|
| 540 | }
|
---|
| 541 |
|
---|
[4962] | 542 | public bool UpdateUser(HeuristicLab.Services.Authentication.User user)
|
---|
[4927] | 543 | {
|
---|
| 544 | return base.Channel.UpdateUser(user);
|
---|
| 545 | }
|
---|
| 546 |
|
---|
| 547 | public bool AddUserToRole(System.Guid roleId, System.Guid userId)
|
---|
| 548 | {
|
---|
| 549 | return base.Channel.AddUserToRole(roleId, userId);
|
---|
| 550 | }
|
---|
| 551 |
|
---|
[4979] | 552 | public System.Guid[] GetUsersInRole(System.Guid roleId)
|
---|
| 553 | {
|
---|
| 554 | return base.Channel.GetUsersInRole(roleId);
|
---|
| 555 | }
|
---|
| 556 |
|
---|
[4927] | 557 | public bool RemoveUserFromRole(System.Guid roleId, System.Guid userId)
|
---|
| 558 | {
|
---|
| 559 | return base.Channel.RemoveUserFromRole(roleId, userId);
|
---|
| 560 | }
|
---|
| 561 |
|
---|
[4979] | 562 | public bool IsUserInRole(System.Guid userId, System.Guid roleId)
|
---|
[4927] | 563 | {
|
---|
[4979] | 564 | return base.Channel.IsUserInRole(userId, roleId);
|
---|
[4927] | 565 | }
|
---|
| 566 |
|
---|
[4962] | 567 | public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id)
|
---|
[4927] | 568 | {
|
---|
| 569 | return base.Channel.GetRole(id);
|
---|
| 570 | }
|
---|
| 571 |
|
---|
[4979] | 572 | public HeuristicLab.Services.Authentication.Role[] GetAllRoles()
|
---|
| 573 | {
|
---|
| 574 | return base.Channel.GetAllRoles();
|
---|
| 575 | }
|
---|
| 576 |
|
---|
[4962] | 577 | public HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId)
|
---|
[4927] | 578 | {
|
---|
| 579 | return base.Channel.GetRoles(applicationId);
|
---|
| 580 | }
|
---|
| 581 |
|
---|
[4979] | 582 | public System.Guid AddRole(HeuristicLab.Services.Authentication.Role role)
|
---|
[4927] | 583 | {
|
---|
[4979] | 584 | return base.Channel.AddRole(role);
|
---|
[4927] | 585 | }
|
---|
| 586 |
|
---|
[4962] | 587 | public bool UpdateRole(HeuristicLab.Services.Authentication.Role role)
|
---|
[4927] | 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 |
|
---|
[4979] | 597 | public System.Guid[] GetRolesForUser(System.Guid userId)
|
---|
[4927] | 598 | {
|
---|
[4979] | 599 | return base.Channel.GetRolesForUser(userId);
|
---|
[4927] | 600 | }
|
---|
| 601 |
|
---|
[4962] | 602 | public HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id)
|
---|
[4927] | 603 | {
|
---|
| 604 | return base.Channel.GetApplication(id);
|
---|
| 605 | }
|
---|
| 606 |
|
---|
[4979] | 607 | public System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application)
|
---|
[4927] | 608 | {
|
---|
[4979] | 609 | return base.Channel.AddApplication(application);
|
---|
[4927] | 610 | }
|
---|
| 611 |
|
---|
| 612 | public bool DeleteApplication(System.Guid id)
|
---|
| 613 | {
|
---|
| 614 | return base.Channel.DeleteApplication(id);
|
---|
| 615 | }
|
---|
| 616 |
|
---|
[4962] | 617 | public HeuristicLab.Services.Authentication.Application[] GetApplications()
|
---|
[4927] | 618 | {
|
---|
| 619 | return base.Channel.GetApplications();
|
---|
| 620 | }
|
---|
[4962] | 621 |
|
---|
| 622 | public bool UpdateApplication(HeuristicLab.Services.Authentication.Application application)
|
---|
| 623 | {
|
---|
| 624 | return base.Channel.UpdateApplication(application);
|
---|
| 625 | }
|
---|
[4927] | 626 | }
|
---|
| 627 | }
|
---|