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