using HopFrame.Database.Models; namespace HopFrame.Security.Claims; public interface ITokenContext { public const string RefreshTokenType = "HopFrame.Security.RefreshToken"; public const string AccessTokenType = "HopFrame.Security.AccessToken"; /// /// This field specifies that a valid user is accessing the endpoint /// bool IsAuthenticated { get; } /// /// The user that is accessing the endpoint /// User User { get; } /// /// The access token the user provided /// Token AccessToken { get; } }