PortalRequestContext prc = Util.getPortalRequestContext();
return oauthPrType.getInitOAuthURL(prc.getRequestContextPath(), prc.getRequestURI());
}
public String getUnlinkSocialAccountURL(OAuthProviderType oauthPrType) throws Exception {
Parameter[] params = new Parameter[] { new Parameter(PARAM_PROVIDER_FOR_UNLINK, oauthPrType.getKey()) };
return super.event("UnlinkSocialAccount", null, params);
}