This commit is contained in:
2025-04-30 09:51:36 +08:00
parent 561881c9aa
commit 09afa239a6
848 changed files with 385870 additions and 205 deletions

View File

@@ -0,0 +1,18 @@
namespace Yes.Infrastructure.Authorizations.Identity.Context
{
public interface IIdentityContext : IScoped
{
int Id { get; }
string Name { get; }
IdentityRoleEnum Role { get; }
bool IsAuthenticated();
IEnumerable<Claim> GetClaimsIdentity();
}
}