using System; using xIdentityHelper; using System.Threading; using xCommons.Attributes; using xIdentityModels.Dtos; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using static IdentityServer4.IdentityServerConstants; namespace xIds.Controllers { public partial class ApplicationsController { // #region Application ... [HttpPost] [RequireXPowered] [Authorize(LocalApi.PolicyName)] [Authorize(Policy = XPolicies.EnabledUser)] public async Task> CreateApplication( [FromBody] XApplicationDto request, CancellationToken cancellationToken = default ) { // throw new NotImplementedException(""); } #endregion } }