package com.tykj.workflowcore.user.service;

import com.tykj.workflowcore.user.pojo.StorageKey;
import com.tykj.workflowcore.user.pojo.UserDetail;

import java.util.Map;

public interface StorageKeyService {

    StorageKey getKeys();

    /**
     * 根据当前登录用户和applicationId生成对应的Token
     * @param userDetail 用户信息
     * @return
     */
    String generateUserToken(UserDetail userDetail);


    String generateUserToken(Map<String, Object> userInfoMap);
}
