32 lines
890 B
C#
32 lines
890 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Logging;
|
|
using xCommons.Attributes;
|
|
using xCommons.Configurations;
|
|
using xCommons.Providers;
|
|
using xIdentityService.Interfaces;
|
|
|
|
namespace xIdentityService.Controllers
|
|
{
|
|
/// <summary>
|
|
/// Base Identity Api Controller
|
|
/// </summary>
|
|
[ApiController]
|
|
[RequireXPowered(true)]
|
|
[Route("api/[controller]")]
|
|
[Produces("application/json")]
|
|
public abstract class XBaseIdentityApiController : XBaseIdentityController
|
|
{
|
|
protected XBaseIdentityApiController(
|
|
ILogger logger,
|
|
XAppConfiguration appConfiguration,
|
|
IXIdentityProvider identityProvider,
|
|
XValidationProvider validationProvider
|
|
) : base(
|
|
logger,
|
|
appConfiguration,
|
|
identityProvider,
|
|
validationProvider
|
|
)
|
|
{ }
|
|
}
|
|
} |