Package org.scribe.builder.api
Class LiveApi
- java.lang.Object
-
- org.scribe.builder.api.DefaultApi20
-
- org.scribe.builder.api.LiveApi
-
- All Implemented Interfaces:
Api
public class LiveApi extends DefaultApi20
-
-
Constructor Summary
Constructors Constructor Description LiveApi()
-
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.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, getAccessTokenVerb
-
-
-
-
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
-
getAccessTokenExtractor
public AccessTokenExtractor getAccessTokenExtractor()
Description copied from class:DefaultApi20
Returns the access token extractor.- Overrides:
getAccessTokenExtractor
in classDefaultApi20
- Returns:
- access token extractor
-
-