public class LiveOAuthApi extends DefaultOAuthApi20
Constructor and Description |
---|
LiveOAuthApi() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessTokenEndpoint()
Returns the URL that receives the access token requests.
|
AccessTokenExtractor |
getAccessTokenExtractor()
Returns the access token extractor.
|
java.lang.String |
getAuthorizationUrl(OAuthConfig config)
Returns the URL where you should redirect your users to authenticate your application.
|
java.lang.String |
getRefreshTokenParameterName()
I (Bret Johnson) merged in refresh token support from the scribe fork here: https://github.com/fernandezpablo85/scribe-java/pull/253
|
createService, getAccessTokenVerb
public java.lang.String getAccessTokenEndpoint()
DefaultOAuthApi20
getAccessTokenEndpoint
in class DefaultOAuthApi20
public java.lang.String getAuthorizationUrl(OAuthConfig config)
DefaultOAuthApi20
getAuthorizationUrl
in class DefaultOAuthApi20
config
- OAuth 2.0 configuration param objectpublic AccessTokenExtractor getAccessTokenExtractor()
DefaultOAuthApi20
getAccessTokenExtractor
in class DefaultOAuthApi20
public java.lang.String getRefreshTokenParameterName()
DefaultOAuthApi20
getRefreshTokenParameterName
in class DefaultOAuthApi20