Package com.appslandia.plum.oauth
Interface OAuthHandler
-
public interface OAuthHandler- Author:
- Loc Ha
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLoginUrl(String redirectUri, String responseType, String permissions, String state, Map<String,String> params)StringgetLoginUrlBase()StringgetRevokeTokenUrl()OAuthTokengetTokenByCode(String code, String redirectUri)StringgetTokenByCodeUrl()OAuthUsergetUserInfo(String accessToken)StringgetUserInfoUrl()voidrevokeToken(String token)
-
-
-
Method Detail
-
getLoginUrlBase
String getLoginUrlBase()
-
getTokenByCodeUrl
String getTokenByCodeUrl()
-
getUserInfoUrl
String getUserInfoUrl()
-
getRevokeTokenUrl
String getRevokeTokenUrl()
-
getLoginUrl
String getLoginUrl(String redirectUri, String responseType, String permissions, String state, Map<String,String> params)
-
getTokenByCode
OAuthToken getTokenByCode(String code, String redirectUri)
-
revokeToken
void revokeToken(String token)
-
-