getAuthorizeURL static method

String getAuthorizeURL()

Implementation

static String getAuthorizeURL() {
  return "https://openapi.baidu.com/oauth/2.0/authorize?" +
      "response_type=token&" + // 必须参数
      "client_id=" +
      APP_KEY + // 必须参数
      "redirect_uri=oob&" + // 必须参数
      "scope=email&" + // 非必须参数
      "display=popup&" + // 非必须参数
      "state=xxx"; // 非必须参数
}