You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
784 B
21 lines
784 B
using Microsoft.AspNetCore.Mvc;
|
|
using OpenIddict.Abstractions;
|
|
|
|
namespace HuiXin.Identity.OpenIddict.Controllers
|
|
{
|
|
[ApiController]
|
|
[Route("user")]
|
|
public class UserController : Controller
|
|
{
|
|
private readonly IOpenIddictApplicationManager _applicationManager;
|
|
private readonly IOpenIddictAuthorizationManager _authorizationManager;
|
|
private readonly IOpenIddictScopeManager _scopeManager;
|
|
|
|
public UserController(IOpenIddictApplicationManager applicationManager, IOpenIddictAuthorizationManager authorizationManager, IOpenIddictScopeManager scopeManager)
|
|
{
|
|
_applicationManager = applicationManager;
|
|
_scopeManager = scopeManager;
|
|
_authorizationManager = authorizationManager;
|
|
}
|
|
}
|
|
}
|
|
|