webdav portal login + access token fix
This commit is contained in:
parent
1c3f10a30a
commit
213eaf0077
19 changed files with 1431 additions and 1181 deletions
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using WebsitePanel.EnterpriseServer.Base.HostedSolution;
|
||||
using WebsitePanel.WebDav.Core.Security.Authentication.Principals;
|
||||
|
||||
namespace WebsitePanel.WebDav.Core.Interfaces.Managers
|
||||
{
|
||||
public interface IAccessTokenManager
|
||||
{
|
||||
WebDavAccessToken CreateToken(WspPrincipal principal, string filePath);
|
||||
WebDavAccessToken GetToken(int id);
|
||||
WebDavAccessToken GetToken(Guid guid);
|
||||
void ClearExpiredTokens();
|
||||
}
|
||||
}
|
|
@ -10,8 +10,5 @@ namespace WebsitePanel.WebDav.Core.Interfaces.Managers
|
|||
byte[] GetFileBytes(string path);
|
||||
IResource GetResource(string path);
|
||||
string GetFileUrl(string path);
|
||||
|
||||
string CreateFileId(string path);
|
||||
string FilePathFromId(string id);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue