|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<FacebookApi> org.springframework.social.facebook.connect.FacebookServiceProvider
public class FacebookServiceProvider
Facebook ServiceProvider implementation.
Constructor Summary | |
---|---|
FacebookServiceProvider(java.lang.String clientId,
java.lang.String clientSecret)
|
Method Summary | |
---|---|
FacebookApi |
getApi(java.lang.String accessToken)
Returns an API interface allowing the client application to access protected resources on behalf of a user. |
Methods inherited from class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider |
---|
getOAuthOperations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FacebookServiceProvider(java.lang.String clientId, java.lang.String clientSecret)
Method Detail |
---|
public FacebookApi getApi(java.lang.String accessToken)
OAuth2ServiceProvider
getApi
in interface OAuth2ServiceProvider<FacebookApi>
getApi
in class AbstractOAuth2ServiceProvider<FacebookApi>
accessToken
- the API access token
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |