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.
|
- using BPA.SAAS.Manage.Application.Auth.Dtos;
- using BPA.SAAS.Manage.Core.Base;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPA.SAAS.Manage.Application.Auth
- {
- public interface IAuthService
- {
- Task<LoginOutInfo> Login([FromHeader] string logintype, [Required] LoginInput input);
- Task<LoginOutput> GetLoginUserAsync();
- Task LogoutAsync();
-
- #region 添加平台授权
-
- /// <summary>
- /// 分页
- /// </summary>
- /// <param name="input"></param>
- /// <returns></returns>
- Task<PageUtil> PageAuthorization(PageInputBase input);
-
- /// <summary>
- /// 添加授权码
- /// </summary>
- /// <returns></returns>
- Task<bool> AddAuthorization();
-
- /// <summary>
- /// 修改授权码
- /// </summary>
- /// <param name="id"></param>
- /// <returns></returns>
- Task<bool> UpdateAuthorization(string id);
-
- #endregion
- }
- }
|