namespace IOL.BookmarkThing.Server.Api.Internal; /// [Authorize] [ApiController] public class BaseInternalRoute : ControllerBase { /// /// User data for the currently logged on user. /// protected LoggedInInternalUser LoggedInUser => new() { Id = User.FindFirstValue(AppClaims.USER_ID).AsGuid(), Username = User.FindFirstValue(AppClaims.NAME), }; }