类 OAuthService

java.lang.Object
net.sohelp.boot.admin.core.service.oauth.OAuthService

@Service public class OAuthService extends Object
OAuth操作服务类 提供OAuth相关的数据访问服务
从以下版本开始:
2024/3/27 11:33
作者:
AaronFung
  • 构造器详细资料

    • OAuthService

      public OAuthService()
  • 方法详细资料

    • getByAppId

      @Comment("\u6839\u636eAppId\u83b7\u53d6\u5bc6\u94a5") public Map<String,Object> getByAppId(String appId) throws SQLException
      根据AppId获取OAuth配置信息 通过应用ID查询对应的OAuth配置记录
      参数:
      appId - 应用ID
      返回:
      返回匹配的OAuth配置记录,以键值对形式存储
      抛出:
      SQLException - 数据库查询异常时抛出
    • list

      public List<Map<String,Object>> list() throws SQLException
      获取所有OAuth配置列表 查询并返回所有OAuth配置记录,按ID升序排列
      返回:
      返回OAuth配置记录列表,每条记录以键值对形式存储
      抛出:
      SQLException - 数据库查询异常时抛出