|
|
|
@ -1,23 +1,22 @@ |
|
|
|
|
using Tiobon.Core.AuthHelper; |
|
|
|
|
using Tiobon.Core.AuthHelper.OverWrite; |
|
|
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
|
|
using System.IdentityModel.Tokens.Jwt; |
|
|
|
|
using System.IdentityModel.Tokens.Jwt; |
|
|
|
|
using System.Security.Claims; |
|
|
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
|
|
using Tiobon.Core.AuthHelper; |
|
|
|
|
using Tiobon.Core.AuthHelper.OverWrite; |
|
|
|
|
using Tiobon.Core.Common.Swagger; |
|
|
|
|
using MySqlX.XDevAPI.Common; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Tiobon.Core.Controllers |
|
|
|
|
namespace Tiobon.Core.Controllers; |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 登录管理【无权限】 |
|
|
|
|
/// </summary> |
|
|
|
|
[Produces("application/json")] |
|
|
|
|
[Route("api/[controller]")]
|
|
|
|
|
[ApiExplorerSettings(GroupName = Grouping.GroupName_Auth)] |
|
|
|
|
[AllowAnonymous] |
|
|
|
|
public class AuthorizeController : BaseApiController |
|
|
|
|
{ |
|
|
|
|
/// <summary> |
|
|
|
|
/// 登录管理【无权限】 |
|
|
|
|
/// </summary> |
|
|
|
|
[Produces("application/json")] |
|
|
|
|
[Route("api/[controller]")]
|
|
|
|
|
[ApiExplorerSettings(GroupName = Grouping.GroupName_Auth)] |
|
|
|
|
[AllowAnonymous] |
|
|
|
|
public class AuthorizeController : BaseApiController |
|
|
|
|
{ |
|
|
|
|
readonly ISysUserInfoServices _sysUserInfoServices; |
|
|
|
|
readonly IGhrs_UserServices _ghrs_UserServices; |
|
|
|
|
readonly PermissionRequirement _requirement; |
|
|
|
@ -309,5 +308,4 @@ namespace Tiobon.Core.Controllers |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endregion |
|
|
|
|
} |
|
|
|
|
} |