package cn.com.poc.support.login.channel;



import cn.com.poc.support.login.ThirdPlatformLoginService;
import cn.com.poc.support.login.domain.AuthInfo;
import cn.com.yict.framemax.core.i18n.I18nMessageException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class DefaultLoginService implements ThirdPlatformLoginService {

    private Logger logger = LoggerFactory.getLogger(this.getClass());


    /**
     * 第三方平台登录
     *
     * @return
     */
    @Override
    public Object doLogin(AuthInfo authInfo) throws Exception {
        throw new I18nMessageException("exception/default.login.channel.login.is.currently.not.supported");
    }
}