last ...
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace xIds.Controllers
|
||||
{
|
||||
public partial class ApplicationsController
|
||||
{
|
||||
//
|
||||
#region ApiKey ...
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace xIds.Controllers
|
||||
{
|
||||
public partial class ApplicationsController
|
||||
{
|
||||
//
|
||||
#region ApiKeyUsage ...
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using xIdentityModels.Dtos;
|
||||
|
||||
namespace xIds.Controllers
|
||||
{
|
||||
public partial class ApplicationsController
|
||||
{
|
||||
//
|
||||
#region Application ...
|
||||
[HttpPost]
|
||||
[RequireXPowered]
|
||||
[Authorize(LocalApi.PolicyName)]
|
||||
[Authorize(Policy = XPolicies.EnabledUser)]
|
||||
public async Task<ActionResult<XApplicationDto>> CreateApplication(
|
||||
[FromBody] XApplicationDto request,
|
||||
CancellationToken cancellationToken = default
|
||||
) {}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user