Update
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using CMSMicroservice.Protobuf.Protos.Package;
|
||||
using FMSMicroservice.Protobuf.Protos.FileInfo;
|
||||
|
||||
namespace BackOffice.BFF.Application.Common.Interfaces;
|
||||
|
||||
public interface IApplicationContractContext
|
||||
{
|
||||
#region FM
|
||||
|
||||
FileInfoContract.FileInfoContractClient FileInfos { get; }
|
||||
|
||||
#endregion
|
||||
#region CMS
|
||||
PackageContract.PackageContractClient Packages { get; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace BackOffice.BFF.Application.Common.Interfaces;
|
||||
|
||||
public interface ICurrentUserService
|
||||
{
|
||||
string? UserId { get; }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace BackOffice.BFF.Application.Common.Interfaces;
|
||||
|
||||
public interface ITokenProvider
|
||||
{
|
||||
Task<string> GetTokenAsync();
|
||||
}
|
||||
Reference in New Issue
Block a user