public interface OAuthServiceProvider
Modifier and Type | Method and Description |
---|---|
OAuthToken |
getAccessToken(OAuthVerifier verifier)
Retrieve the access token
|
java.lang.String |
getAuthorizationUrl()
Returns the URL where you should redirect your users to authenticate your application.
|
java.lang.String |
getName()
Returns the name of this service.
|
OAuthUserInfo |
getUserInfo(OAuthToken token)
After establishing of secure communication channel, this method supossed to access the
protected resoure and retrieve the username.
|
java.lang.String |
getVersion()
Returns the OAuth version of the service.
|
java.lang.String getAuthorizationUrl()
OAuthToken getAccessToken(OAuthVerifier verifier)
verifier
- verifier codeOAuthUserInfo getUserInfo(OAuthToken token) throws java.io.IOException
token
- java.io.IOException
java.lang.String getVersion()
java.lang.String getName()