Initial commit
This commit is contained in:
9
Backend/Security/ITokenContext.cs
Normal file
9
Backend/Security/ITokenContext.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Backend.Security {
|
||||
public interface ITokenContext {
|
||||
bool IsAuthenticated { get; }
|
||||
Guid UserId { get; }
|
||||
Guid AccessTokenId { get; }
|
||||
Guid RefreshTokenId { get; }
|
||||
string[] Permissions { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user