com.memfactory.auth.util.AuthUtil Maven / Gradle / Ivy
package com.memfactory.auth.util;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ineunet.knife.config.AppConfig;
import com.memfactory.auth.contant.AuthConstant;
import com.memfactory.utils.JsonUtil;
public final class AuthUtil {
private static final Logger LOG = LoggerFactory.getLogger(AuthUtil.class);
private AuthUtil() {
}
/**
* 用户可以展示哪些权限
*
* @author zhairp createDate: 2018-09-25
* @param userId 用户ID
* @param appKey 应用Key
* @param appSecret 应用Secret
* @return 权限列表
*/
public static List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy