接口 OauthGateway
OauthGateway
-
方法概要
修饰符和类型方法说明boolean
enabled
(short siteId) getAuthorizeUrl
(short siteId, String state) getAuthorizeUrl
(short siteId, String state, boolean mobilde) default OauthAccess
getOpenId
(short siteId, OauthAccess oauthInfo) getUserInfo
(short siteId, OauthAccess oauthAccess)
-
方法详细资料
-
getChannel
String getChannel()- 返回:
- channel
-
keyFunction
- 指定者:
keyFunction
在接口中Container<String>
-
enabled
boolean enabled(short siteId) - 参数:
siteId
-- 返回:
- enabled
-
getAuthorizeUrl
- 参数:
siteId
-state
-mobilde
-- 返回:
- authorize url
-
getAuthorizeUrl
- 参数:
siteId
-state
-- 返回:
- authorize url
-
getOpenId
- 参数:
siteId
-code
-- 返回:
- oauth access
- 抛出:
org.apache.http.client.ClientProtocolException
IOException
-
getOpenId
- 参数:
siteId
-oauthInfo
-- 返回:
- 抛出:
IOException
-
getUserInfo
- 参数:
siteId
-oauthAccess
-- 返回:
- user info
- 抛出:
org.apache.http.client.ClientProtocolException
IOException
-