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 |
|
---|
11 | namespace HeuristicLab.Services.Authentication.ServiceClient
|
---|
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")]
|
---|
20 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.ServiceClient.NamedAuthItem))]
|
---|
21 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.ServiceClient.Role))]
|
---|
22 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.ServiceClient.Application))]
|
---|
23 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.ServiceClient.User))]
|
---|
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")]
|
---|
76 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.ServiceClient.Role))]
|
---|
77 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.ServiceClient.Application))]
|
---|
78 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.ServiceClient.User))]
|
---|
79 | public partial class NamedAuthItem : HeuristicLab.Services.Authentication.ServiceClient.AuthItem
|
---|
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")]
|
---|
106 | public partial class Role : HeuristicLab.Services.Authentication.ServiceClient.NamedAuthItem
|
---|
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")]
|
---|
171 | public partial class Application : HeuristicLab.Services.Authentication.ServiceClient.NamedAuthItem
|
---|
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")]
|
---|
217 | public partial class User : HeuristicLab.Services.Authentication.ServiceClient.NamedAuthItem
|
---|
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")]
|
---|
450 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="HeuristicLab.Services.Authentication.ServiceClient.IAuthenticationService")]
|
---|
451 | public interface IAuthenticationService
|
---|
452 | {
|
---|
453 |
|
---|
454 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetUserResponse")]
|
---|
455 | HeuristicLab.Services.Authentication.ServiceClient.User GetUser(System.Guid id);
|
---|
456 |
|
---|
457 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersResponse")]
|
---|
458 | HeuristicLab.Services.Authentication.ServiceClient.User[] GetUsers(System.Guid applicationId);
|
---|
459 |
|
---|
460 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/InsertUser", ReplyAction="http://tempuri.org/IAuthenticationService/InsertUserResponse")]
|
---|
461 | bool InsertUser(HeuristicLab.Services.Authentication.ServiceClient.User user);
|
---|
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")]
|
---|
467 | bool UpdateUser(HeuristicLab.Services.Authentication.ServiceClient.User user);
|
---|
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")]
|
---|
476 | HeuristicLab.Services.Authentication.ServiceClient.Role[] GetRolesForUser(System.Guid userId);
|
---|
477 |
|
---|
478 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetRoleResponse")]
|
---|
479 | HeuristicLab.Services.Authentication.ServiceClient.Role GetRole(System.Guid id);
|
---|
480 |
|
---|
481 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesResponse")]
|
---|
482 | HeuristicLab.Services.Authentication.ServiceClient.Role[] GetRoles(System.Guid applicationId);
|
---|
483 |
|
---|
484 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/InsertRole", ReplyAction="http://tempuri.org/IAuthenticationService/InsertRoleResponse")]
|
---|
485 | bool InsertRole(HeuristicLab.Services.Authentication.ServiceClient.Role role);
|
---|
486 |
|
---|
487 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateRole", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateRoleResponse")]
|
---|
488 | bool UpdateRole(HeuristicLab.Services.Authentication.ServiceClient.Role role);
|
---|
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")]
|
---|
494 | HeuristicLab.Services.Authentication.ServiceClient.User[] GetUsersInRole(System.Guid roleId);
|
---|
495 |
|
---|
496 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplication", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationResponse")]
|
---|
497 | HeuristicLab.Services.Authentication.ServiceClient.Application GetApplication(System.Guid id);
|
---|
498 |
|
---|
499 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/InsertApplication", ReplyAction="http://tempuri.org/IAuthenticationService/InsertApplicationResponse")]
|
---|
500 | bool InsertApplication(HeuristicLab.Services.Authentication.ServiceClient.Application application);
|
---|
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")]
|
---|
506 | HeuristicLab.Services.Authentication.ServiceClient.Application[] GetApplications();
|
---|
507 | }
|
---|
508 |
|
---|
509 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
510 | public interface IAuthenticationServiceChannel : HeuristicLab.Services.Authentication.ServiceClient.IAuthenticationService, System.ServiceModel.IClientChannel
|
---|
511 | {
|
---|
512 | }
|
---|
513 |
|
---|
514 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
515 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
516 | public partial class AuthenticationServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Services.Authentication.ServiceClient.IAuthenticationService>, HeuristicLab.Services.Authentication.ServiceClient.IAuthenticationService
|
---|
517 | {
|
---|
518 |
|
---|
519 | public AuthenticationServiceClient()
|
---|
520 | {
|
---|
521 | }
|
---|
522 |
|
---|
523 | public AuthenticationServiceClient(string endpointConfigurationName) :
|
---|
524 | base(endpointConfigurationName)
|
---|
525 | {
|
---|
526 | }
|
---|
527 |
|
---|
528 | public AuthenticationServiceClient(string endpointConfigurationName, string remoteAddress) :
|
---|
529 | base(endpointConfigurationName, remoteAddress)
|
---|
530 | {
|
---|
531 | }
|
---|
532 |
|
---|
533 | public AuthenticationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
534 | base(endpointConfigurationName, remoteAddress)
|
---|
535 | {
|
---|
536 | }
|
---|
537 |
|
---|
538 | public AuthenticationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
539 | base(binding, remoteAddress)
|
---|
540 | {
|
---|
541 | }
|
---|
542 |
|
---|
543 | public HeuristicLab.Services.Authentication.ServiceClient.User GetUser(System.Guid id)
|
---|
544 | {
|
---|
545 | return base.Channel.GetUser(id);
|
---|
546 | }
|
---|
547 |
|
---|
548 | public HeuristicLab.Services.Authentication.ServiceClient.User[] GetUsers(System.Guid applicationId)
|
---|
549 | {
|
---|
550 | return base.Channel.GetUsers(applicationId);
|
---|
551 | }
|
---|
552 |
|
---|
553 | public bool InsertUser(HeuristicLab.Services.Authentication.ServiceClient.User user)
|
---|
554 | {
|
---|
555 | return base.Channel.InsertUser(user);
|
---|
556 | }
|
---|
557 |
|
---|
558 | public bool DeleteUser(System.Guid id)
|
---|
559 | {
|
---|
560 | return base.Channel.DeleteUser(id);
|
---|
561 | }
|
---|
562 |
|
---|
563 | public bool UpdateUser(HeuristicLab.Services.Authentication.ServiceClient.User user)
|
---|
564 | {
|
---|
565 | return base.Channel.UpdateUser(user);
|
---|
566 | }
|
---|
567 |
|
---|
568 | public bool AddUserToRole(System.Guid roleId, System.Guid userId)
|
---|
569 | {
|
---|
570 | return base.Channel.AddUserToRole(roleId, userId);
|
---|
571 | }
|
---|
572 |
|
---|
573 | public bool RemoveUserFromRole(System.Guid roleId, System.Guid userId)
|
---|
574 | {
|
---|
575 | return base.Channel.RemoveUserFromRole(roleId, userId);
|
---|
576 | }
|
---|
577 |
|
---|
578 | public HeuristicLab.Services.Authentication.ServiceClient.Role[] GetRolesForUser(System.Guid userId)
|
---|
579 | {
|
---|
580 | return base.Channel.GetRolesForUser(userId);
|
---|
581 | }
|
---|
582 |
|
---|
583 | public HeuristicLab.Services.Authentication.ServiceClient.Role GetRole(System.Guid id)
|
---|
584 | {
|
---|
585 | return base.Channel.GetRole(id);
|
---|
586 | }
|
---|
587 |
|
---|
588 | public HeuristicLab.Services.Authentication.ServiceClient.Role[] GetRoles(System.Guid applicationId)
|
---|
589 | {
|
---|
590 | return base.Channel.GetRoles(applicationId);
|
---|
591 | }
|
---|
592 |
|
---|
593 | public bool InsertRole(HeuristicLab.Services.Authentication.ServiceClient.Role role)
|
---|
594 | {
|
---|
595 | return base.Channel.InsertRole(role);
|
---|
596 | }
|
---|
597 |
|
---|
598 | public bool UpdateRole(HeuristicLab.Services.Authentication.ServiceClient.Role role)
|
---|
599 | {
|
---|
600 | return base.Channel.UpdateRole(role);
|
---|
601 | }
|
---|
602 |
|
---|
603 | public bool DeleteRole(System.Guid id)
|
---|
604 | {
|
---|
605 | return base.Channel.DeleteRole(id);
|
---|
606 | }
|
---|
607 |
|
---|
608 | public HeuristicLab.Services.Authentication.ServiceClient.User[] GetUsersInRole(System.Guid roleId)
|
---|
609 | {
|
---|
610 | return base.Channel.GetUsersInRole(roleId);
|
---|
611 | }
|
---|
612 |
|
---|
613 | public HeuristicLab.Services.Authentication.ServiceClient.Application GetApplication(System.Guid id)
|
---|
614 | {
|
---|
615 | return base.Channel.GetApplication(id);
|
---|
616 | }
|
---|
617 |
|
---|
618 | public bool InsertApplication(HeuristicLab.Services.Authentication.ServiceClient.Application application)
|
---|
619 | {
|
---|
620 | return base.Channel.InsertApplication(application);
|
---|
621 | }
|
---|
622 |
|
---|
623 | public bool DeleteApplication(System.Guid id)
|
---|
624 | {
|
---|
625 | return base.Channel.DeleteApplication(id);
|
---|
626 | }
|
---|
627 |
|
---|
628 | public HeuristicLab.Services.Authentication.ServiceClient.Application[] GetApplications()
|
---|
629 | {
|
---|
630 | return base.Channel.GetApplications();
|
---|
631 | }
|
---|
632 | }
|
---|
633 | }
|
---|