限定符和类型 | 方法和说明 |
---|---|
boolean |
enabled(short siteId) |
java.lang.String |
getAuthorizeUrl(short siteId,
java.lang.String state) |
java.lang.String |
getAuthorizeUrl(short siteId,
java.lang.String state,
boolean mobilde) |
java.lang.String |
getChannel() |
OauthAccess |
getOpenId(short siteId,
java.lang.String code) |
OauthUser |
getUserInfo(short siteId,
OauthAccess oauthAccess) |
default java.util.function.Supplier<java.lang.String> |
keyFunction() |
java.lang.String getChannel()
default java.util.function.Supplier<java.lang.String> keyFunction()
keyFunction
在接口中 Container<java.lang.String>
boolean enabled(short siteId)
siteId
- java.lang.String getAuthorizeUrl(short siteId, java.lang.String state, boolean mobilde)
siteId
- state
- mobilde
- java.lang.String getAuthorizeUrl(short siteId, java.lang.String state)
siteId
- state
- OauthAccess getOpenId(short siteId, java.lang.String code) throws org.apache.http.client.ClientProtocolException, java.io.IOException
siteId
- code
- org.apache.http.client.ClientProtocolException
java.io.IOException
OauthUser getUserInfo(short siteId, OauthAccess oauthAccess) throws org.apache.http.client.ClientProtocolException, java.io.IOException
siteId
- oauthAccess
- org.apache.http.client.ClientProtocolException
java.io.IOException