package com.qmth.teachcloud.cas.util.xjtu;

public interface Constants {

    // CAS根地址
    String CAS_BASE_PATH = "https://org.xjtu.edu.cn";

    // CAS登录地址
//    String CAS_LOGIN_URL = CAS_BASE_PATH + "/openplatform/oauth/login";

    String ACCESS_TOKEN_URL = CAS_BASE_PATH + "/openplatform/oauth/getAccessToken";

    String USER_INFO_URL = CAS_BASE_PATH + "/openplatform/oauth/open/getUserInfo";

    String LOGIN_BEFORE_XJU_LOGIC_API = "/api/admin/print/open/login_before_xju_logic";

    String OAUTH_URL = "https://org.xjtu.edu.cn/openplatform/oauth/authorize";

    // CAS注销地址
    String CAS_LOGOUT_URL = CAS_BASE_PATH + "/openplatform/oauth/logout";

    String SSO_LOGIN_URI = "/api/open/xjtu/authentication";

    String SSO_LOGOUT_URI = "/api/open/xjtu/authentication/logout";

    String APP_ID = "appId";

    String REDIRECT_URI = "redirectUri";
}
