package cn.com.poc.thirdparty.resource.demand.dgTools.rest;

import cn.com.yict.framemax.core.rest.BaseRest;
import cn.com.yict.framemax.web.permission.Access;
import cn.com.yict.framemax.web.permission.Permission;

/**
 * @author Roger Wu
 */
@Permission(Access.Anonymous)
public interface AuthorizationRest extends BaseRest {

    /**
     *
     * @throws Exception
     * @return
     */
    String applicationAuthorization() throws Exception;

    /**
     * 获取中台的apptoken
     * @return
     * @throws Exception
     */
    String getApplicationToken() throws Exception;
}
