public interface OAuthServiceProvider
Modifier and Type | Method and Description |
---|---|
OAuthToken |
getAccessToken(OAuthVerifier verifier)
Retrieve the access token
|
String |
getAuthorizationUrl()
Returns the URL where you should redirect your users to authenticate your application.
|
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.
|
String |
getVersion()
Returns the OAuth version of the service.
|
String getAuthorizationUrl()
OAuthToken getAccessToken(OAuthVerifier verifier)
verifier
- verifier codeOAuthUserInfo getUserInfo(OAuthToken token) throws IOException
token
- IOException
String getVersion()
String getName()