mirror of https://github.com/abpframework/abp.git
11 changed files with 45 additions and 48 deletions
@ -1,12 +1,10 @@ |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.Dapr; |
|||
|
|||
public interface IDaprAppApiTokenValidator |
|||
{ |
|||
Task CheckDaprAppApiTokenAsync(); |
|||
void CheckDaprAppApiToken(); |
|||
|
|||
Task<bool> IsValidDaprAppApiTokenAsync(); |
|||
bool IsValidDaprAppApiToken(); |
|||
|
|||
Task<string> GetDaprAppApiTokenOrNullAsync(); |
|||
string GetDaprAppApiTokenOrNull(); |
|||
} |
|||
|
|||
@ -1,10 +1,8 @@ |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Volo.Abp.Dapr; |
|||
|
|||
public interface IDaprApiTokenProvider |
|||
{ |
|||
Task<string> GetDaprApiTokenAsync(); |
|||
string GetDaprApiToken(); |
|||
|
|||
Task<string> GetAppApiTokenAsync(); |
|||
string GetAppApiToken(); |
|||
} |
|||
|
|||
Loading…
Reference in new issue