public abstract class DefaultApi20 extends Object implements Api
| Constructor and Description |
|---|
DefaultApi20() |
| Modifier and Type | Method and Description |
|---|---|
OAuth20Service |
createService(OAuthConfig config) |
abstract String |
getAccessTokenEndpoint()
Returns the URL that receives the access token requests.
|
AccessTokenExtractor |
getAccessTokenExtractor()
Returns the access token extractor.
|
Verb |
getAccessTokenVerb()
Returns the verb for the access token endpoint (defaults to GET)
|
abstract String |
getAuthorizationUrl(OAuthConfig config)
Returns the URL where you should redirect your users to authenticate your application.
|
public AccessTokenExtractor getAccessTokenExtractor()
public Verb getAccessTokenVerb()
public abstract String getAccessTokenEndpoint()
public abstract String getAuthorizationUrl(OAuthConfig config)
config - OAuth 2.0 configuration param objectpublic OAuth20Service createService(OAuthConfig config)
createService in interface Apiconfig - config to build the Service fromOAuthServiceCopyright © 2016. All rights reserved.