Files

42 lines
1.1 KiB
C#

using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Logging;
using xCommons.Attributes;
using xCommons.Configurations;
using xCommons.Providers;
using xIdentityService.Controllers;
using xIdentityService.Interfaces;
namespace xApi.Controllers
{
/// <summary>
/// Handle all Account Related Actions ...
/// </summary>
[AllowAnonymous]
[RequireXPowered(true)]
public partial class AccountController : XBaseIdentityController
{
//
#region Props ...
private readonly IXIdentityProvider identityProvider;
#endregion
//
#region Constructor ...
public AccountController(
ILogger<AccountController> logger,
XAppConfiguration appConfiguration,
IXIdentityProvider identityProvider,
XValidationProvider validationProvider
) : base(
logger,
appConfiguration,
identityProvider,
validationProvider
)
{
//
this.identityProvider = identityProvider;
}
#endregion
}
}