Class OdnoklassnikiProvider
- java.lang.Object
-
- org.forgerock.openam.authentication.modules.oauth2.profile.OdnoklassnikiProvider
-
- All Implemented Interfaces:
ProfileProvider
public class OdnoklassnikiProvider extends Object implements ProfileProvider
-
-
Field Summary
Fields Modifier and Type Field Description static StringPUBLIC_KEY
-
Constructor Summary
Constructors Constructor Description OdnoklassnikiProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProfileProvidergetInstance()StringgetProfile(OAuthConf config, String token)static Stringmd5(String orgString)voidsignRequest(String accessToken, Map<String,String> params, String api_secret)
-
-
-
Field Detail
-
PUBLIC_KEY
public static final String PUBLIC_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static ProfileProvider getInstance()
-
getProfile
public String getProfile(OAuthConf config, String token) throws LoginException
- Specified by:
getProfilein interfaceProfileProvider- Throws:
LoginException
-
signRequest
public void signRequest(String accessToken, Map<String,String> params, String api_secret) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
-