source: trunk/sources/HeuristicLab.Security.Contracts/3.2/Interfaces/IPermissionManager.cs @ 1737

Last change on this file since 1737 was 1737, checked in by svonolfe, 12 years ago

Passwords are now stored in MD5 in the database (#532)

File size: 496 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.ServiceModel;
5
6namespace 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  }
22}
Note: See TracBrowser for help on using the repository browser.