32 lines
905 B
C#
32 lines
905 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 V1 Controller
|
|
/// </summary>
|
|
[ApiController]
|
|
[ApiVersion("1.0")]
|
|
[RequireXPowered(true)]
|
|
[Route("api/v{version:apiVersion}/[controller]")]
|
|
public abstract class XBaseIdentityApiV1Controller : XBaseIdentityApiController
|
|
{
|
|
protected XBaseIdentityApiV1Controller(
|
|
ILogger logger,
|
|
XAppConfiguration appConfiguration,
|
|
IXIdentityProvider identityProvider,
|
|
XValidationProvider validationProvider
|
|
) : base(
|
|
logger,
|
|
appConfiguration,
|
|
identityProvider,
|
|
validationProvider
|
|
)
|
|
{ }
|
|
}
|
|
} |