public interface ISocialNetwork
Modifier and Type | Method and Description |
---|---|
String |
getApiKey() |
String |
getClientId() |
String |
getClientSecret() |
Map<String,String> |
getData() |
String |
getLogin() |
String |
getName() |
String |
getRedirectURL() |
String |
getSigninURL(ContentContext ctx) |
SocialUser |
getSocialUser(javax.servlet.http.HttpServletRequest request) |
String |
getToken() |
String |
getURL() |
void |
performRedirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
prepare(ContentContext ctx)
prepare social network for rendering
|
void |
set(String key,
String value) |
void |
setApiKey(String key) |
void |
setClientId(String client) |
void |
setClientSecret(String client) |
void |
setLogin(String login) |
void |
setRedirectURL(String url) |
void |
setToken(String token) |
void |
setURL(String url) |
void |
update(Map map)
update value with a map.
|
String getName()
String getLogin()
void setLogin(String login)
String getToken()
void setToken(String token)
String getURL()
void setURL(String url)
String getClientSecret()
void setClientSecret(String client)
String getClientId()
void setClientId(String client)
String getApiKey()
void setApiKey(String key)
void update(Map map)
void prepare(ContentContext ctx) throws Exception
ctx
- org.apache.oltu.oauth2.common.exception.OAuthSystemException
Exception
String getSigninURL(ContentContext ctx) throws Exception
Exception
String getRedirectURL()
void setRedirectURL(String url)
void performRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
SocialUser getSocialUser(javax.servlet.http.HttpServletRequest request)
Copyright © 2012-2018. All Rights Reserved.