Rev | Line | |
---|
[1378] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
[1520] | 4 | using System.ServiceModel;
|
---|
[1378] | 5 |
|
---|
| 6 | namespace HeuristicLab.Security.Contracts.Interfaces {
|
---|
[1520] | 7 |
|
---|
| 8 | [ServiceContract]
|
---|
[1735] | 9 | public interface IPermissionManager {
|
---|
[1520] | 10 |
|
---|
| 11 | [OperationContract]
|
---|
[1738] | 12 | [FaultContractAttribute(typeof(CommunicationException))]
|
---|
[1378] | 13 | Guid Authenticate(String userName, String password);
|
---|
[1520] | 14 |
|
---|
| 15 | [OperationContract]
|
---|
[1738] | 16 | [FaultContractAttribute(typeof(CommunicationException))]
|
---|
[1384] | 17 | bool CheckPermission(Guid sessionId, Guid permissionId,
|
---|
[1378] | 18 | Guid enitityId);
|
---|
[1520] | 19 |
|
---|
| 20 | [OperationContract]
|
---|
[1738] | 21 | [FaultContractAttribute(typeof(CommunicationException))]
|
---|
[1378] | 22 | void EndSession(Guid sessionId);
|
---|
[1735] | 23 |
|
---|
[1378] | 24 | }
|
---|
| 25 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.