2020-03-30 17:14:07 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Ufangx.FileServices.Models;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ufangx.FileServices.Abstractions
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IFileServiceProvider
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
IEnumerable<string> AuthenticationSchemes { get; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
string DefaultSchemeName { get; }
|
2020-04-01 16:04:02 +08:00
|
|
|
|
FileServiceScheme GetScheme(string schemeName);
|
2020-03-30 17:14:07 +08:00
|
|
|
|
IEnumerable<FileServiceScheme> GetSchemes();
|
|
|
|
|
|
|
2020-04-01 16:04:02 +08:00
|
|
|
|
FileNameRuleOptions GetNameRuleOptions();
|
|
|
|
|
|
|
2020-03-30 17:14:07 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|