super(providerConfig);
ENDPOINTS.put(Constants.OAUTH_AUTHORIZATION_URL,"https://openapi.baidu.com/oauth/2.0/authorize");
ENDPOINTS.put(Constants.OAUTH_ACCESS_TOKEN_URL,"https://openapi.baidu.com/oauth/2.0/token");
AllPerms = new String[] {};
AuthPerms = new String[] {};
authenticationStrategy = new OAuth2(config, ENDPOINTS);
authenticationStrategy.setPermission(scope);
authenticationStrategy.setScope(getScope());
PROFILE_URL = "https://openapi.baidu.com/rest/2.0/passport/users/getLoggedInUser?format=json";
}