1
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user