Package org.scribe.builder.api
Class ConstantContactApi2
- java.lang.Object
-
- org.scribe.builder.api.DefaultApi20
-
- org.scribe.builder.api.ConstantContactApi2
-
- All Implemented Interfaces:
Api
public class ConstantContactApi2 extends DefaultApi20
-
-
Constructor Summary
Constructors Constructor Description ConstantContactApi2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.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)java.lang.String
getAuthorizationUrl(OAuthConfig config)
Returns the URL where you should redirect your users to authenticate your application.-
Methods inherited from class org.scribe.builder.api.DefaultApi20
createService
-
-
-
-
Method Detail
-
getAccessTokenEndpoint
public java.lang.String getAccessTokenEndpoint()
Description copied from class:DefaultApi20
Returns the URL that receives the access token requests.- Specified by:
getAccessTokenEndpoint
in classDefaultApi20
- Returns:
- access token URL
-
getAuthorizationUrl
public java.lang.String getAuthorizationUrl(OAuthConfig config)
Description copied from class:DefaultApi20
Returns the URL where you should redirect your users to authenticate your application.- Specified by:
getAuthorizationUrl
in classDefaultApi20
- Parameters:
config
- OAuth 2.0 configuration param object- Returns:
- the URL where you should redirect your users
-
getAccessTokenVerb
public Verb getAccessTokenVerb()
Description copied from class:DefaultApi20
Returns the verb for the access token endpoint (defaults to GET)- Overrides:
getAccessTokenVerb
in classDefaultApi20
- Returns:
- access token endpoint verb
-
getAccessTokenExtractor
public AccessTokenExtractor getAccessTokenExtractor()
Description copied from class:DefaultApi20
Returns the access token extractor.- Overrides:
getAccessTokenExtractor
in classDefaultApi20
- Returns:
- access token extractor
-
-